Skip to content

Commit

Permalink
fix(api): add novu enterprise check with plain support key env (#6885)
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Fontein <[email protected]>
  • Loading branch information
jainpawan21 and rifont authored Nov 17, 2024
1 parent c1f51c2 commit 4d812a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/api/src/config/env.validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ 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({ default: undefined }), // Feature Flags
...(processEnv.NOVU_ENTERPRISE === 'true' && {
PLAIN_SUPPORT_KEY: str(),
}),
// Feature Flags
...Object.keys(FeatureFlagsKeysEnum).reduce(
(acc, key) => {
return {
Expand Down

0 comments on commit 4d812a2

Please sign in to comment.