From 99f70bea8d103acc83de8538285666c797634bce Mon Sep 17 00:00:00 2001 From: Robyn MacCallum Date: Thu, 10 Feb 2022 18:03:55 -0500 Subject: [PATCH] Individually await saving of orgs and providers (#663) --- common/src/services/sync.service.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/common/src/services/sync.service.ts b/common/src/services/sync.service.ts index d32db18e16..178953260f 100644 --- a/common/src/services/sync.service.ts +++ b/common/src/services/sync.service.ts @@ -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);