about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-02 22:11:16 +0100
committerEmile <hanemile@protonmail.com>2019-11-02 22:11:16 +0100
commit17dff95d13dcf289cf91821a0e35c485811f7aaa (patch)
tree9914a048473f52949dad02df73c5933b4d91b3f6
parentc0421a84f25a81f1c02569ac73f2175c5018983c (diff)
fixed the function signature
-rw-r--r--src/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go
index 1caa14a..3422992 100644
--- a/src/http.go
+++ b/src/http.go
@@ -38,6 +38,6 @@ func httpStartServer() {
 }
 
 // handle requests to the /api/found endpoint
-func apiFoundHandler() {
+func apiFoundHandler(w http.ResponseWriter, r *http.Request) {
 	w.Header().Set("Content-Type", "application/json")
 }