diff options
author | 2024-10-04 19:50:54 -0700 | |
---|---|---|
committer | 2024-10-04 20:51:40 -0700 | |
commit | f16735fd6dfdd9dbfb1d7cd7b41edd0ba4183bbd (patch) | |
tree | 84dc548ee32215916a68ec3d2b5946965e1848c0 /internal/api/icon.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/api/icon.go')
-rw-r--r-- | internal/api/icon.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/icon.go b/internal/api/icon.go index 84db8652..dff76b1d 100644 --- a/internal/api/icon.go +++ b/internal/api/icon.go @@ -13,7 +13,7 @@ import ( func (h *handler) getIconByFeedID(w http.ResponseWriter, r *http.Request) { feedID := request.RouteInt64Param(r, "feedID") - if !h.store.HasIcon(feedID) { + if !h.store.HasFeedIcon(feedID) { json.NotFound(w, r) return } |