diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-07-19 19:27:05 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-07-19 19:27:05 -0700 |
commit | 9f6533ece90c6b528dd0af6f1b6dec4a7fa2fa3b (patch) | |
tree | 59349657a1d5a700abab38332d4e7240533ab4d3 /api/subscription.go | |
parent | a291d8a38b40569fdd1f00125ca0b29e4b9264f2 (diff) |
Compress JSON, CSS and Javascript responses
Diffstat (limited to 'api/subscription.go')
-rw-r--r-- | api/subscription.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/subscription.go b/api/subscription.go index 19adc9e..a28c3b2 100644 --- a/api/subscription.go +++ b/api/subscription.go @@ -36,5 +36,5 @@ func (c *Controller) GetSubscriptions(w http.ResponseWriter, r *http.Request) { return } - json.OK(w, subscriptions) + json.OK(w, r, subscriptions) } |