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

No files matched your search

+2 -2
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
}