code refactor

This commit is contained in:
MaysWind
2020-12-26 00:14:58 +08:00
parent f058d62920
commit 823ed89612
2 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ func (a *UsersApi) UserUpdateProfileHandler(c *core.Context) (interface{}, *errs
log.InfofWithRequestId(c, "[users.UserUpdateProfileHandler] user \"uid:%d\" token refreshed, new token will be expired at %d", user.Uid, claims.ExpiresAt)
return resp, nil
} else {
return resp, nil
}
return resp, nil
}