1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

encrypted import for bitwarden json (#220)

This commit is contained in:
Kyle Spearrin
2020-12-04 21:05:11 -05:00
committed by GitHub
parent 2b8c2c2b3e
commit dcbd09e736
68 changed files with 375 additions and 188 deletions

View File

@@ -165,12 +165,12 @@ export class ImportService implements ImportServiceAbstraction {
}
}
getImporter(format: string, organization = false): Importer {
getImporter(format: string, organizationId: string = null): Importer {
const importer = this.getImporterInstance(format);
if (importer == null) {
return null;
}
importer.organization = organization;
importer.organizationId = organizationId;
return importer;
}