mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 22:10:04 +00:00
refactor: fix code smells
This commit is contained in:
@@ -209,6 +209,9 @@ func (s *OidcService) createTokenFromAuthorizationCode(code, clientID, clientSec
|
||||
}
|
||||
|
||||
accessToken, err = s.jwtService.GenerateOauthAccessToken(authorizationCodeMetaData.User, clientID)
|
||||
if err != nil {
|
||||
return "", "", "", 0, err
|
||||
}
|
||||
|
||||
s.db.Delete(&authorizationCodeMetaData)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user