From 17dff95d13dcf289cf91821a0e35c485811f7aaa Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 2 Nov 2019 22:11:16 +0100 Subject: fixed the function signature --- src/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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") } -- cgit 1.4.1