1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

feat(integration): add ntfy integration

This commit is contained in:
Frédéric Guillot 2024-07-13 16:52:30 -07:00
parent 3ca52c7f7f
commit 968355f9b9
32 changed files with 567 additions and 17 deletions

View file

@ -347,9 +347,11 @@ func (s *Storage) UpdateFeed(feed *model.Feed) (err error) {
no_media_player=$26,
apprise_service_urls=$27,
disable_http2=$28,
description=$29
description=$29,
ntfy_enabled=$30,
ntfy_priority=$31
WHERE
id=$30 AND user_id=$31
id=$32 AND user_id=$33
`
_, err = s.db.Exec(query,
feed.FeedURL,
@ -381,6 +383,8 @@ func (s *Storage) UpdateFeed(feed *model.Feed) (err error) {
feed.AppriseServiceURLs,
feed.DisableHTTP2,
feed.Description,
feed.NtfyEnabled,
feed.NtfyPriority,
feed.ID,
feed.UserID,
)