Skip to content

Commit bef5bed

Browse files
author
zonghuili2019
committed
fix server.go:243:6: no new variables on left side of :=
1 parent 68172d1 commit bef5bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func (s *Server) GetAuthorizeToken(ctx context.Context, req *AuthorizeRequest) (
240240
}
241241
}
242242

243-
tgr := &oauth2.TokenGenerateRequest{
243+
tgr = &oauth2.TokenGenerateRequest{
244244
ClientID: req.ClientID,
245245
UserID: req.UserID,
246246
RedirectURI: req.RedirectURI,

0 commit comments

Comments
 (0)