From f16735fd6dfdd9dbfb1d7cd7b41edd0ba4183bbd Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 4 Oct 2024 19:50:54 -0700 Subject: feat: update feed icon during force refresh --- internal/api/icon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/icon.go') 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 } -- cgit v1.2.3