diff --git a/server/api/publish-ama.post.ts b/server/api/publish-ama.post.ts index 101c8171..a1c1909c 100644 --- a/server/api/publish-ama.post.ts +++ b/server/api/publish-ama.post.ts @@ -85,7 +85,7 @@ export default defineEventHandler(async event => { const webhookSecret = config.sanity.webhookToken if (!webhookSecret) { - console.error('SANITY_WEBHOOK_SECRET environment variable not set') + console.error('NUXT_SANITY_WEBHOOK_TOKEN environment variable not set') throw createError({ statusCode: 500, statusMessage: 'Webhook secret not configured',