This commit is contained in:
zhuharev 2016-01-06 22:41:42 +03:00
parent 0cb7396840
commit 0d5dc8a064
3 changed files with 6 additions and 6 deletions

View file

@ -57,8 +57,8 @@ func ListAccessTokens(uid int64) ([]*AccessToken, error) {
return tokens, nil
}
// UpdateAccessToekn updates information of access token.
func UpdateAccessToekn(t *AccessToken) error {
// UpdateAccessToken updates information of access token.
func UpdateAccessToken(t *AccessToken) error {
_, err := x.Id(t.ID).AllCols().Update(t)
return err
}