forked from vikunja/vikunja
fix(webhooks): send application/json header
This commit is contained in:
parent
74e40ccfb4
commit
57bd5aca80
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue