From bbb5b5fa96ad35de43bb6873a3b3a5afed0f956a Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sun, 14 Oct 2018 17:13:16 +0100 Subject: [PATCH] whoops2 --- mirko.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirko.go b/mirko.go index b40f27a..c7778d1 100644 --- a/mirko.go +++ b/mirko.go @@ -79,7 +79,7 @@ func (m *Mirko) Listen() error { m.httpMux = http.NewServeMux() // Canonical URLs m.httpMux.HandleFunc("/debug/status", func(w http.ResponseWriter, r *http.Request) { - any, sensitive := authRequest(r) + any, _ := authRequest(r) if !any { http.Error(w, "not allowed", http.StatusUnauthorized) return