test for masked comments

This commit is contained in:
Umputun
2018-02-04 16:51:27 -06:00
parent 8925da510a
commit 7fca267e8b
3 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func (a *admin) deleteCommentCtrl(w http.ResponseWriter, r *http.Request) {
}
a.cache.Flush()
render.Status(r, http.StatusOK)
render.JSON(w, r, JSON{"id": id, "loc": locator})
render.JSON(w, r, JSON{"id": id, "locator": locator})
}
// PUT /user/{userid}?site=side-id&block=1 - block or unblock user