remove return from integration loop

This commit is contained in:
Maidul Islam
2023-08-22 21:18:18 +00:00
parent 3e46bec6f7
commit ec856f0bcc
@@ -28,7 +28,7 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => {
// for each workspace integration, sync/push secrets // for each workspace integration, sync/push secrets
// to that integration // to that integration
for await (const integration of integrations) { for (const integration of integrations) {
// get workspace, environment (shared) secrets // get workspace, environment (shared) secrets
const secrets = await BotService.getSecrets({ const secrets = await BotService.getSecrets({
workspaceId: integration.workspace, workspaceId: integration.workspace,
@@ -46,7 +46,7 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => {
}); });
// sync secrets to integration // sync secrets to integration
return await syncSecrets({ await syncSecrets({
integration, integration,
integrationAuth, integrationAuth,
secrets, secrets,