Compare commits

...

1 Commits

Author SHA1 Message Date
akkuman
28b9154d7e fix: fix #693 token error (#695) 2022-04-23 01:12:06 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -230,7 +230,7 @@ func (c *ApiController) RefreshToken() {
clientSecret = tokenRequest.ClientSecret
grantType = tokenRequest.GrantType
scope = tokenRequest.Scope
refreshToken = tokenRequest.RefreshToken
}
}

View File

@@ -25,4 +25,5 @@ type TokenRequest struct {
Password string `json:"password"`
Tag string `json:"tag"`
Avatar string `json:"avatar"`
RefreshToken string `json:"refresh_token"`
}