Explorar o código

fixing get config

afeiszli %!s(int64=4) %!d(string=hai) anos
pai
achega
6de7ec4cc5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/serverHttpController.go

+ 1 - 1
controllers/serverHttpController.go

@@ -51,7 +51,7 @@ func securityCheckServer(adminonly bool, next http.Handler) http.HandlerFunc {
 			return
 		} 
 		if adminonly && !isadmin && !authenticateMasterServer(authToken) {
-			returnErrorResponse(w, r, errorResponse)W
+			returnErrorResponse(w, r, errorResponse)
 			return
 		}
 		next.ServeHTTP(w, r)