Individually await saving of orgs and providers (#663)
This commit is contained in:
parent
47399bb583
commit
99f70bea8d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue