summaryrefslogtreecommitdiff
path: root/system/api/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/api/update.go')
-rw-r--r--system/api/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/update.go b/system/api/update.go
index 507d3af..da79330 100644
--- a/system/api/update.go
+++ b/system/api/update.go
@@ -162,7 +162,7 @@ func updateContentHandler(res http.ResponseWriter, req *http.Request) {
_, err = db.SetContent(t+spec+":"+id, req.PostForm)
if err != nil {
- log.Println("[Update] error calling UpdateContent:", err)
+ log.Println("[Update] error calling SetContent:", err)
res.WriteHeader(http.StatusInternalServerError)
return
}