mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 05:26:43 +00:00
remove return from integration loop
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user