set webhook content type
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user