From c1a6e342e9e2261e233f6c0db51b380004ba1288 Mon Sep 17 00:00:00 2001 From: Cleo John Date: Tue, 14 Mar 2023 17:18:30 +0100 Subject: [PATCH] webhook mastodon fixes --- packages/backend/src/queue/processors/webhook-deliver.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/queue/processors/webhook-deliver.ts b/packages/backend/src/queue/processors/webhook-deliver.ts index a130fcd38..2edf4f696 100644 --- a/packages/backend/src/queue/processors/webhook-deliver.ts +++ b/packages/backend/src/queue/processors/webhook-deliver.ts @@ -20,6 +20,7 @@ export default async (job: Bull.Job) => { "X-Calckey-Host": config.host, "X-Calckey-Hook-Id": job.data.webhookId, "X-Calckey-Hook-Secret": job.data.secret, + 'Content-Type': 'application/json' }, body: JSON.stringify({ hookId: job.data.webhookId,