Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove return from integration loop

Maidul Islamec856f0bccc3
diff --git a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts
index c594aab346..2a12c0e5d2 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,