From ec856f0bccc3a66f14bd396eb4c5febf78944605 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 22 Aug 2023 21:18:18 +0000 Subject: [PATCH] remove return from integration loop --- .../queues/integrations/syncSecretsToThirdPartyServices.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts index c594aab34..2a12c0e5d 100644 --- a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts +++ b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts @@ -28,7 +28,7 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => { // for each workspace integration, sync/push secrets // to that integration - for await (const integration of integrations) { + for (const integration of integrations) { // get workspace, environment (shared) secrets const secrets = await BotService.getSecrets({ workspaceId: integration.workspace, @@ -46,7 +46,7 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => { }); // sync secrets to integration - return await syncSecrets({ + await syncSecrets({ integration, integrationAuth, secrets,