diff --git a/src/util/webhook.ts b/src/util/webhook.ts index fdf218f..0e97fe6 100644 --- a/src/util/webhook.ts +++ b/src/util/webhook.ts @@ -18,13 +18,12 @@ export async function sendWebhook(action: T, data: Webh while (true) { try { const response = await fetch(WEBHOOK_ENDPOINT, { - body: JSON.stringify(data), method: 'POST', headers: { 'Content-Type': 'application/json', 'x-webhook-action': action }, - keepalive: false + body: JSON.stringify(data), }); if (response.status === 200) return;