fix(viewer): 🐛 Fix subscribe webhook method
This commit is contained in:
@ -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' })
|
||||
|
@ -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",
|
||||
],
|
||||
})
|
||||
|
@ -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",
|
||||
],
|
||||
})
|
||||
|
Reference in New Issue
Block a user