aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/feed.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/feed.go')
-rw-r--r--api/feed.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/feed.go b/api/feed.go
index b7c46ea..b6b6357 100644
--- a/api/feed.go
+++ b/api/feed.go
@@ -146,7 +146,7 @@ func (c *Controller) GetFeeds(w http.ResponseWriter, r *http.Request) {
return
}
- json.OK(w, feeds)
+ json.OK(w, r, feeds)
}
// GetFeed is the API handler to get a feed.
@@ -168,7 +168,7 @@ func (c *Controller) GetFeed(w http.ResponseWriter, r *http.Request) {
return
}
- json.OK(w, feed)
+ json.OK(w, r, feed)
}
// RemoveFeed is the API handler to remove a feed.