From f7b8e4e7c39ed355e53bbed0e7d58598edc20883 Mon Sep 17 00:00:00 2001
From: Daniel <dhaavi@users.noreply.github.com>
Date: Tue, 12 Sep 2023 16:43:47 +0200
Subject: [PATCH] Fix linter warning

---
 apprise/notify.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apprise/notify.go b/apprise/notify.go
index 5003fd6..a8e3f8a 100644
--- a/apprise/notify.go
+++ b/apprise/notify.go
@@ -116,7 +116,7 @@ func (n *Notifier) Send(ctx context.Context, m *Message) error {
 	if err != nil {
 		return fmt.Errorf("failed to send message: %w", err)
 	}
-	defer resp.Body.Close() //nolint:errcheck
+	defer resp.Body.Close() //nolint:errcheck,gosec
 	switch resp.StatusCode {
 	case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted:
 		return nil