From 29a80935ff59a58d964f3ff5f0fe94e3a05fd2de Mon Sep 17 00:00:00 2001 From: bytedream Date: Sat, 21 Jun 2025 23:40:29 +0200 Subject: [PATCH] make webhook post --- src/util/webhook.ts | 1 + 1 file changed, 1 insertion(+) 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 },