typo fix
This commit is contained in:
parent
0cb7396840
commit
0d5dc8a064
3 changed files with 6 additions and 6 deletions
|
@ -126,8 +126,8 @@ func HTTP(ctx *middleware.Context) {
|
|||
return
|
||||
}
|
||||
token.Updated = time.Now()
|
||||
if err = models.UpdateAccessToekn(token); err != nil {
|
||||
ctx.Handle(500, "UpdateAccessToekn", err)
|
||||
if err = models.UpdateAccessToken(token); err != nil {
|
||||
ctx.Handle(500, "UpdateAccessToken", err)
|
||||
}
|
||||
authUser, err = models.GetUserByID(token.UID)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue