fix(notifications): ntfy.sh Typo in Content-Type header value (#1452)

Fix typo in Content-Type Header value from pain to plain
This commit is contained in:
felix4643 2024-03-03 22:59:35 +01:00 committed by GitHub
parent 2cdd3264b8
commit c55b83544c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ func (s *ntfySender) Send(event domain.NotificationEvent, payload domain.Notific
return errors.Wrap(err, "could not create request") return errors.Wrap(err, "could not create request")
} }
req.Header.Set("Content-Type", "text/pain") req.Header.Set("Content-Type", "text/plain")
req.Header.Set("User-Agent", "autobrr") req.Header.Set("User-Agent", "autobrr")
req.Header.Set("Title", m.Title) req.Header.Set("Title", m.Title)