make webhook post
All checks were successful
deploy / build-and-deploy (/testvaro, /opt/website-test, website-test) (push) Successful in 19s
deploy / build-and-deploy (/varo, /opt/website, website) (push) Successful in 13s

This commit is contained in:
2025-06-21 23:40:29 +02:00
parent 023fd67004
commit 29a80935ff

View File

@ -19,6 +19,7 @@ export async function sendWebhook<T extends WebhookAction>(action: T, data: Webh
try {
const response = await fetch(WEBHOOK_ENDPOINT, {
body: JSON.stringify(data),
method: 'POST',
headers: {
'x-webhook-action': action
},