aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes.go b/api/routes.go
index 6f9c17b..103de04 100644
--- a/api/routes.go
+++ b/api/routes.go
@@ -19,7 +19,7 @@ func insertFunc(w http.ResponseWriter, r *http.Request) {
content := r.FormValue("content")
// get ip
- ip, _ := getIP(r)
+ ip := getIP(r)
log.Infof("got content '%s' and ip '%s'", content, ip)