Skip to content

Commit

Permalink
fix undefined STORYBLOK_WEBHOOK_SECRET
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes committed Jun 17, 2024
1 parent 74ebc05 commit 6d22c11
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,10 @@ export const crispWebsiteId = getEnv(process.env.CRISP_WEBSITE_ID, 'CRISP_WEBSIT

export const slackWebhookUrl = getEnv(process.env.SLACK_WEBHOOK_URL, 'SLACK_WEBHOOK_URL');

export const storyblokToken =
getEnv(process.env.STORYBLOK_PUBLIC_TOKEN, 'STORYBLOK_PUBLIC_TOKEN') || '';
export const storyblokToken = getEnv(process.env.STORYBLOK_PUBLIC_TOKEN, 'STORYBLOK_PUBLIC_TOKEN');

export const storyblokWebhookSecret = getEnv(
process.env.STORYBLOK_WEBHOOK_SECRET,
'STORYBLOK_WEBHOOK_SECRET',
);
export const storyblokWebhookSecret =
getEnv(process.env.STORYBLOK_WEBHOOK_SECRET, 'STORYBLOK_WEBHOOK_SECRET') || '';

export const simplybookCredentials = getEnv(
process.env.SIMPLYBOOK_CREDENTIALS,
Expand Down

0 comments on commit 6d22c11

Please sign in to comment.