diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-12-06 21:01:00 -0500 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-12-06 21:01:00 -0500 |
commit | a2f6e1803bb8322843777f1795f8966de81a84c0 (patch) | |
tree | 96f3d13fa2f884b845c7b1507c1de07927da1617 /models/oauth2.go | |
parent | 47e7175b80d1f1bf05bd2da3a38c898596b12835 (diff) | |
parent | 39c068400e9dd3a577580faa41e87140c2d2e499 (diff) |
Merge pull request #718 from jbcrail/fix-comment-spelling
Fix spelling errors in comments.
Diffstat (limited to 'models/oauth2.go')
-rw-r--r-- | models/oauth2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/oauth2.go b/models/oauth2.go index 46e8e492..d19e248c 100644 --- a/models/oauth2.go +++ b/models/oauth2.go @@ -79,7 +79,7 @@ func UpdateOauth2(oa *Oauth2) error { return err } -// GetOauthByUserId returns list of oauthes that are releated to given user. +// GetOauthByUserId returns list of oauthes that are related to given user. func GetOauthByUserId(uid int64) ([]*Oauth2, error) { socials := make([]*Oauth2, 0, 5) err := x.Find(&socials, Oauth2{Uid: uid}) |