|
|
@@ -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)
|