From cfde3ec3d94a3010ae71d2977f38df1ad52fb9b9 Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Thu, 2 Apr 2020 18:03:57 +0100 Subject: [PATCH] Remove resolver logic --- api/server/auth/auth.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/server/auth/auth.go b/api/server/auth/auth.go index 15373277..e01b95a0 100644 --- a/api/server/auth/auth.go +++ b/api/server/auth/auth.go @@ -7,7 +7,6 @@ import ( "net/url" "strings" - "github.com/micro/go-micro/v2/api/resolver" "github.com/micro/go-micro/v2/auth" "github.com/micro/go-micro/v2/logger" ) @@ -21,9 +20,8 @@ func CombinedAuthHandler(h http.Handler) http.Handler { } type authHandler struct { - handler http.Handler - auth auth.Auth - resolver resolver.Resolver + handler http.Handler + auth auth.Auth } func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {