diff options
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r-- | system/api/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/handlers.go b/system/api/handlers.go index 2e70fdc..91b10f9 100644 --- a/system/api/handlers.go +++ b/system/api/handlers.go @@ -180,7 +180,7 @@ func contentHandlerBySlug(res http.ResponseWriter, req *http.Request) { func hide(it interface{}, res http.ResponseWriter, req *http.Request) bool { // check if should be hidden if h, ok := it.(item.Hideable); ok { - err := h.Hide(req) + err := h.Hide(res, req) if err == item.ErrAllowHiddenItem { return false } |