Skip to content

Commit

Permalink
fix(viewer): 🐛 Fix subscribe webhook method
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 3, 2022
1 parent 1bf3baf commit 831150e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand Down
1 change: 1 addition & 0 deletions apps/viewer/sentry.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
})
1 change: 1 addition & 0 deletions apps/viewer/sentry.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
})

2 comments on commit 831150e

@vercel
Copy link

@vercel vercel bot commented on 831150e Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 831150e Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

app.typebot.io
builder-v2-typebot-io.vercel.app
builder-v2-git-main-typebot-io.vercel.app

Please sign in to comment.