Skip to content

Commit

Permalink
fix: add novu enterprise check with plain support key env
Browse files Browse the repository at this point in the history
  • Loading branch information
jainpawan21 committed Nov 7, 2024
1 parent 445ef50 commit c5f8fa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/api/src/config/env.validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export const envValidators = {
NOVU_INVITE_TEAM_MEMBER_NUDGE_TRIGGER_IDENTIFIER: str({ default: undefined }),
HUBSPOT_INVITE_NUDGE_EMAIL_USER_LIST_ID: str({ default: undefined }),
HUBSPOT_PRIVATE_APP_ACCESS_TOKEN: str({ default: undefined }),
PLAIN_SUPPORT_KEY: str(),
...(process.env.NOVU_ENTERPRISE === 'true' && {
PLAIN_SUPPORT_KEY: str(),
}),
// Feature Flags
...Object.keys(FeatureFlagsKeysEnum).reduce(
(acc, key) => {
Expand Down

0 comments on commit c5f8fa6

Please sign in to comment.