From 111bf8b77d4b3fef6d89be19713f007bbc5a77cb 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 a130fcd382..2edf4f6960 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,