aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/category.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/category.go')
-rw-r--r--api/category.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/category.go b/api/category.go
index 30b12f4..b7b5c02 100644
--- a/api/category.go
+++ b/api/category.go
@@ -83,7 +83,7 @@ func (c *Controller) GetCategories(w http.ResponseWriter, r *http.Request) {
return
}
- json.OK(w, categories)
+ json.OK(w, r, categories)
}
// RemoveCategory is the API handler to remove a category.