diff --git a/src/util/webhook.ts b/src/util/webhook.ts index 66990db..92915b1 100644 --- a/src/util/webhook.ts +++ b/src/util/webhook.ts @@ -19,6 +19,7 @@ export async function sendWebhook(action: T, data: Webh try { const response = await fetch(WEBHOOK_ENDPOINT, { body: JSON.stringify(data), + method: 'POST', headers: { 'x-webhook-action': action },