fix(webhooks): send application/json header
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user