diff options
author | Emile <hanemile@protonmail.com> | 2019-11-02 22:11:16 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-02 22:11:16 +0100 |
commit | 17dff95d13dcf289cf91821a0e35c485811f7aaa (patch) | |
tree | 9914a048473f52949dad02df73c5933b4d91b3f6 /src | |
parent | c0421a84f25a81f1c02569ac73f2175c5018983c (diff) |
fixed the function signature
Diffstat (limited to 'src')
-rw-r--r-- | src/http.go | 2 |
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") } |