1
0

fix(webhooks): send application/json header

This commit is contained in:
kolaente
2023-12-06 14:09:49 +01:00
parent 74e40ccfb4
commit 57bd5aca80

View File

@ -285,6 +285,7 @@ func (w *Webhook) sendWebhookPayload(p *WebhookPayload) (err error) {
}
req.Header.Add("User-Agent", "Vikunja/"+version.Version)
req.Header.Add("Content-Type", "application/json")
client := getWebhookHTTPClient()
res, err := client.Do(req)