mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
feat(apprise): add title in notification request body
This commit is contained in:
parent
c3ca603960
commit
3a18e5d205
1 changed files with 3 additions and 2 deletions
|
@ -40,6 +40,7 @@ func (c *Client) SendNotification(entry *model.Entry) error {
|
|||
requestBody, err := json.Marshal(map[string]any{
|
||||
"urls": c.servicesURL,
|
||||
"body": message,
|
||||
"title": entry.Feed.Title,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("apprise: unable to encode request body: %v", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue