From bef5bed72513dd7fe62fed62b883a956a9c8ea88 Mon Sep 17 00:00:00 2001 From: zonghuili2019 <1103446502@qq.com> Date: Fri, 2 Jul 2021 13:54:51 +0800 Subject: [PATCH] fix server.go:243:6: no new variables on left side of := --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index ca5c861..e10efad 100755 --- a/server/server.go +++ b/server/server.go @@ -240,7 +240,7 @@ func (s *Server) GetAuthorizeToken(ctx context.Context, req *AuthorizeRequest) ( } } - tgr := &oauth2.TokenGenerateRequest{ + tgr = &oauth2.TokenGenerateRequest{ ClientID: req.ClientID, UserID: req.UserID, RedirectURI: req.RedirectURI,