From 3a18e5d205d9f1ef137bb278528f815afd5bf958 Mon Sep 17 00:00:00 2001 From: mrchi Date: Sun, 1 Dec 2024 22:04:34 +0800 Subject: [PATCH] feat(apprise): add title in notification request body --- internal/integration/apprise/apprise.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/integration/apprise/apprise.go b/internal/integration/apprise/apprise.go index 5c9fa9d5..7d48b9eb 100644 --- a/internal/integration/apprise/apprise.go +++ b/internal/integration/apprise/apprise.go @@ -38,8 +38,9 @@ func (c *Client) SendNotification(entry *model.Entry) error { } requestBody, err := json.Marshal(map[string]any{ - "urls": c.servicesURL, - "body": message, + "urls": c.servicesURL, + "body": message, + "title": entry.Feed.Title, }) if err != nil { return fmt.Errorf("apprise: unable to encode request body: %v", err)