From c55b83544c5ddead89c6118f384cde25e2671eb8 Mon Sep 17 00:00:00 2001 From: felix4643 <48161406+felix4643@users.noreply.github.com> Date: Sun, 3 Mar 2024 22:59:35 +0100 Subject: [PATCH] fix(notifications): ntfy.sh Typo in Content-Type header value (#1452) Fix typo in Content-Type Header value from pain to plain --- internal/notification/ntfy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/notification/ntfy.go b/internal/notification/ntfy.go index 4684259..293f579 100644 --- a/internal/notification/ntfy.go +++ b/internal/notification/ntfy.go @@ -54,7 +54,7 @@ func (s *ntfySender) Send(event domain.NotificationEvent, payload domain.Notific 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("Title", m.Title)