summaryrefslogtreecommitdiff
path: root/system/api/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r--system/api/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/handlers.go b/system/api/handlers.go
index a01f3dc..40a4a1d 100644
--- a/system/api/handlers.go
+++ b/system/api/handlers.go
@@ -115,7 +115,7 @@ func contentHandler(res http.ResponseWriter, req *http.Request) {
return
}
- defer push(res, pt, post)
+ defer push(res, req, pt, post)
j, err := fmtJSON(json.RawMessage(post))
if err != nil {