summaryrefslogtreecommitdiff
path: root/system/api
diff options
context:
space:
mode:
authorKevin Keuning <kkeuning@gmail.com>2017-03-05 22:35:41 -0600
committerKevin Keuning <kkeuning@gmail.com>2017-03-05 22:35:41 -0600
commit986a2130a59b25fdc7730b3a974d5f5338bd7cb1 (patch)
treefc39d65aaeadad2acb1ddb96cae4e525201108bb /system/api
parent92a96fe470b39ae5c16f66fce8023f04ad3a37ae (diff)
updated logging
Diffstat (limited to 'system/api')
-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
}