diff options
author | 2024-10-04 19:50:54 -0700 | |
---|---|---|
committer | 2024-10-04 20:51:40 -0700 | |
commit | f16735fd6dfdd9dbfb1d7cd7b41edd0ba4183bbd (patch) | |
tree | 84dc548ee32215916a68ec3d2b5946965e1848c0 /internal/model/feed.go | |
parent | 562a7b79a57bc9f3b25225486084fcb9da84b7d2 (diff) | |
download | v2-f16735fd6dfdd9dbfb1d7cd7b41edd0ba4183bbd.tar.gz v2-f16735fd6dfdd9dbfb1d7cd7b41edd0ba4183bbd.tar.zst v2-f16735fd6dfdd9dbfb1d7cd7b41edd0ba4183bbd.zip |
feat: update feed icon during force refresh
Diffstat (limited to 'internal/model/feed.go')
-rw-r--r-- | internal/model/feed.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/model/feed.go b/internal/model/feed.go index 91c582bd..141abd41 100644 --- a/internal/model/feed.go +++ b/internal/model/feed.go @@ -56,11 +56,12 @@ type Feed struct { NtfyEnabled bool `json:"ntfy_enabled"` NtfyPriority int `json:"ntfy_priority"` - // Non persisted attributes + // Non-persisted attributes Category *Category `json:"category,omitempty"` Icon *FeedIcon `json:"icon"` Entries Entries `json:"entries,omitempty"` + // Internal attributes (not exposed in the API and not persisted in the database) TTL int `json:"-"` IconURL string `json:"-"` UnreadCount int `json:"-"` |