summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue
diff options
context:
space:
mode:
authorxtexChooser <xtexchooser@duck.com>2023-04-05 13:49:58 +0800
committerGitHub <noreply@github.com>2023-04-05 14:49:58 +0900
commit62efe2b4d517abc3f8f23b02823865032d5636f0 (patch)
tree898a4f3141f48987ef2e47aeab116d47c61104c9 /packages/backend/src/queue
parentenhance(client): 投稿フォームをちょっといい感じに (#10442) (diff)
downloadsharkey-62efe2b4d517abc3f8f23b02823865032d5636f0.tar.gz
sharkey-62efe2b4d517abc3f8f23b02823865032d5636f0.tar.bz2
sharkey-62efe2b4d517abc3f8f23b02823865032d5636f0.zip
fix: webhook delivery content-type (#9823) (#10458)
* fix: webhook delivery content-type (#9823) * style: indent * Update packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * style: trailing comma --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Diffstat (limited to 'packages/backend/src/queue')
-rw-r--r--packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts b/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts
index 39b1b95658..84a5c21c49 100644
--- a/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts
+++ b/packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts
@@ -39,6 +39,7 @@ export class WebhookDeliverProcessorService {
'X-Misskey-Host': this.config.host,
'X-Misskey-Hook-Id': job.data.webhookId,
'X-Misskey-Hook-Secret': job.data.secret,
+ 'Content-Type': 'application/json',
},
body: JSON.stringify({
hookId: job.data.webhookId,