From b5ff0ed4ff9c15205f5d55a226088017a47b59dd Mon Sep 17 00:00:00 2001 From: Josh Yan Date: Fri, 5 Jul 2024 16:23:39 -0700 Subject: [PATCH] lint --- server/routes.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/routes.go b/server/routes.go index 71834ce76..a26dd6aad 100644 --- a/server/routes.go +++ b/server/routes.go @@ -970,7 +970,6 @@ func (s *Server) IsLocal(c *gin.Context) bool { fmt.Println("entered islocal") fmt.Println(c.GetHeader("Authorization"), " is authorization") if authz := c.GetHeader("Authorization"); authz != "" { - parts := strings.Split(authz, ":") if len(parts) != 3 { fmt.Println("failed at lenParts")