aboutsummaryrefslogtreecommitdiff
path: root/internal/api/icon.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/icon.go')
-rw-r--r--internal/api/icon.go2
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
}