webhook mastodon fixes

This commit is contained in:
Cleo John 2023-03-14 17:18:30 +01:00
parent 8d50cb2391
commit 111bf8b77d
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export default async (job: Bull.Job<WebhookDeliverJobData>) => {
"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,