diff --git a/apps/worker/src/app/workflow/usecases/send-message/send-message-email.usecase.ts b/apps/worker/src/app/workflow/usecases/send-message/send-message-email.usecase.ts index 2bb60121171..02b340e94ca 100644 --- a/apps/worker/src/app/workflow/usecases/send-message/send-message-email.usecase.ts +++ b/apps/worker/src/app/workflow/usecases/send-message/send-message-email.usecase.ts @@ -247,9 +247,9 @@ export class SendMessageEmail extends SendMessageBase { const shouldDisableInlineCss = await this.getFeatureFlag.execute( GetFeatureFlagCommand.create({ key: FeatureFlagsKeysEnum.IS_EMAIL_INLINE_CSS_DISABLED, - environmentId: command.environmentId, + environmentId: 'system', organizationId: command.organizationId, - userId: command.userId, + userId: 'system', }) );