From ee4d04065b2091c411dedaae9a95fb62d9e23f7b Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Mon, 24 Jun 2024 19:04:33 +0300 Subject: [PATCH] fix: system id --- .../usecases/update-integration/update-integration.usecase.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/app/integrations/usecases/update-integration/update-integration.usecase.ts b/apps/api/src/app/integrations/usecases/update-integration/update-integration.usecase.ts index 99cb7a37234..25c2ca15e99 100644 --- a/apps/api/src/app/integrations/usecases/update-integration/update-integration.usecase.ts +++ b/apps/api/src/app/integrations/usecases/update-integration/update-integration.usecase.ts @@ -128,8 +128,8 @@ export class UpdateIntegration { const isInvalidationDisabled = await this.getFeatureFlag.execute( GetFeatureFlagCommand.create({ - userId: command.userId, - environmentId: command.environmentId as string, + userId: 'system', + environmentId: 'system', organizationId: command.organizationId, key: FeatureFlagsKeysEnum.IS_INTEGRATION_INVALIDATION_DISABLED, })