mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
Individually await saving of orgs and providers (#663)
This commit is contained in:
@@ -328,10 +328,8 @@ export class SyncService implements SyncServiceAbstraction {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
await Promise.all([
|
await this.organizationService.save(organizations);
|
||||||
this.organizationService.save(organizations),
|
await this.providerService.save(providers);
|
||||||
this.providerService.save(providers),
|
|
||||||
]);
|
|
||||||
|
|
||||||
if (await this.keyConnectorService.userNeedsMigration()) {
|
if (await this.keyConnectorService.userNeedsMigration()) {
|
||||||
await this.keyConnectorService.setConvertAccountRequired(true);
|
await this.keyConnectorService.setConvertAccountRequired(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user