Skip to content

Commit

Permalink
refactor(worker): use 'system' for environmentId and userId for inlin…
Browse files Browse the repository at this point in the history
…e-css flag evaluation (#6136)
  • Loading branch information
rifont authored Jul 23, 2024
1 parent 3c63954 commit 1c00edb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
})
);

Expand Down

0 comments on commit 1c00edb

Please sign in to comment.