mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-11 19:33:27 -05:00
Co-authored-by: Rohan Gupta <rohan.gupta@zopper.com> Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
This commit is contained in:
@@ -60,6 +60,9 @@ export async function POST(request: Request) {
|
||||
webhooks.map(async (webhook) => {
|
||||
await fetch(webhook.url, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
},
|
||||
body: JSON.stringify({
|
||||
webhookId: webhook.id,
|
||||
event,
|
||||
|
||||
Reference in New Issue
Block a user