set webhook content type
All checks were successful
deploy / build-and-deploy (/testvaro, /opt/website-test, website-test) (push) Successful in 20s
deploy / build-and-deploy (/varo, /opt/website, website) (push) Successful in 13s

This commit is contained in:
2025-06-21 23:45:37 +02:00
parent 7b5557bd76
commit eeeca4ed4e

View File

@ -21,6 +21,7 @@ export async function sendWebhook<T extends WebhookAction>(action: T, data: Webh
body: JSON.stringify(data),
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-webhook-action': action
},
keepalive: false