diff --git a/apps/viewer/pages/api/typebots/[typebotId]/blocks/[blockId]/steps/[stepId]/subscribeWebhook.ts b/apps/viewer/pages/api/typebots/[typebotId]/blocks/[blockId]/steps/[stepId]/subscribeWebhook.ts index 5ef4b7640f..9a96184f63 100644 --- a/apps/viewer/pages/api/typebots/[typebotId]/blocks/[blockId]/steps/[stepId]/subscribeWebhook.ts +++ b/apps/viewer/pages/api/typebots/[typebotId]/blocks/[blockId]/steps/[stepId]/subscribeWebhook.ts @@ -26,7 +26,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => { ?.steps.find(byId(stepId)) as WebhookStep await prisma.webhook.update({ where: { id: webhookId }, - data: { url, body: '{{state}}' }, + data: { url, body: '{{state}}', method: 'POST' }, }) return res.send({ message: 'success' }) diff --git a/apps/viewer/sentry.client.config.js b/apps/viewer/sentry.client.config.js index 15a2da11ae..d14ed470b5 100644 --- a/apps/viewer/sentry.client.config.js +++ b/apps/viewer/sentry.client.config.js @@ -10,5 +10,6 @@ Sentry.init({ 'ResizeObserver loop limit exceeded', 'ResizeObserver loop completed with undelivered notifications.', 'ResizeObserver is not defined', + "Can't find variable: ResizeObserver", ], }) diff --git a/apps/viewer/sentry.server.config.js b/apps/viewer/sentry.server.config.js index bdbfc8cc54..2df9a74ef3 100644 --- a/apps/viewer/sentry.server.config.js +++ b/apps/viewer/sentry.server.config.js @@ -10,5 +10,6 @@ Sentry.init({ 'ResizeObserver loop limit exceeded', 'ResizeObserver loop completed with undelivered notifications.', 'ResizeObserver is not defined', + "Can't find variable: ResizeObserver", ], })