diff options
Diffstat (limited to 'models/token.go')
-rw-r--r-- | models/token.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/token.go b/models/token.go index 3bb06dc7c0..136753c324 100644 --- a/models/token.go +++ b/models/token.go @@ -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 } |