🗃️ Remove list types from db schema
This commit is contained in:
@@ -54,7 +54,14 @@ export const subscribeWebhookProcedure = authenticatedProcedure
|
||||
await prisma.webhook.upsert({
|
||||
where: { id: webhookBlock.webhookId },
|
||||
update: { url, body: '{{state}}', method: 'POST' },
|
||||
create: { url, body: '{{state}}', method: 'POST', typebotId },
|
||||
create: {
|
||||
url,
|
||||
body: '{{state}}',
|
||||
method: 'POST',
|
||||
typebotId,
|
||||
headers: [],
|
||||
queryParams: [],
|
||||
},
|
||||
})
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user