1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

add padlock importer, move from maps to arrays

This commit is contained in:
Kyle Spearrin
2018-07-10 16:39:04 -04:00
parent 57e13c25b5
commit bd0d321dba
3 changed files with 8 additions and 5 deletions

View File

@@ -62,8 +62,8 @@ export class ImportComponent extends BaseImportComponent {
}
}
if (importResult.collectionRelationships != null) {
importResult.collectionRelationships.forEach((v: number, k: number) =>
request.collectionRelationships.push(new KvpRequest(k, v)));
importResult.collectionRelationships.forEach((r) =>
request.collectionRelationships.push(new KvpRequest(r[0], r[1])));
}
return await this.apiService.postImportOrganizationCiphers(this.organizationId, request);
}