Skip to content

Commit c86ca04

Browse files
authored
fix: undefined STORYBLOK_WEBHOOK_SECRET (#483)
1 parent 74ebc05 commit c86ca04

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/utils/constants.ts

+3-6
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,10 @@ export const crispWebsiteId = getEnv(process.env.CRISP_WEBSITE_ID, 'CRISP_WEBSIT
118118

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

121-
export const storyblokToken =
122-
getEnv(process.env.STORYBLOK_PUBLIC_TOKEN, 'STORYBLOK_PUBLIC_TOKEN') || '';
121+
export const storyblokToken = getEnv(process.env.STORYBLOK_PUBLIC_TOKEN, 'STORYBLOK_PUBLIC_TOKEN');
123122

124-
export const storyblokWebhookSecret = getEnv(
125-
process.env.STORYBLOK_WEBHOOK_SECRET,
126-
'STORYBLOK_WEBHOOK_SECRET',
127-
);
123+
export const storyblokWebhookSecret =
124+
getEnv(process.env.STORYBLOK_WEBHOOK_SECRET, 'STORYBLOK_WEBHOOK_SECRET') || '';
128125

129126
export const simplybookCredentials = getEnv(
130127
process.env.SIMPLYBOOK_CREDENTIALS,

0 commit comments

Comments
 (0)