1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

Individually await saving of orgs and providers (#663)

This commit is contained in:
Robyn MacCallum 2022-02-10 18:03:55 -05:00 committed by GitHub
parent 47399bb583
commit 99f70bea8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,10 +328,8 @@ export class SyncService implements SyncServiceAbstraction {
}
});
await Promise.all([
this.organizationService.save(organizations),
this.providerService.save(providers),
]);
await this.organizationService.save(organizations);
await this.providerService.save(providers);
if (await this.keyConnectorService.userNeedsMigration()) {
await this.keyConnectorService.setConvertAccountRequired(true);