1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

fix(fever): fix typo in variable name

This commit is contained in:
Frédéric Guillot 2025-09-14 11:11:41 -07:00
parent 854a78a7d1
commit 907cf16af1

View file

@ -145,7 +145,7 @@ func (h *handler) handleFeeds(w http.ResponseWriter, r *http.Request) {
var result feedsResponse
result.Feeds = make([]feed, 0)
for _, f := range feeds {
subscripion := feed{
subscription := feed{
ID: f.ID,
Title: f.Title,
URL: f.FeedURL,
@ -155,10 +155,10 @@ func (h *handler) handleFeeds(w http.ResponseWriter, r *http.Request) {
}
if f.Icon != nil {
subscripion.FaviconID = f.Icon.IconID
subscription.FaviconID = f.Icon.IconID
}
result.Feeds = append(result.Feeds, subscripion)
result.Feeds = append(result.Feeds, subscription)
}
result.FeedsGroups = h.buildFeedGroups(feeds)