summaryrefslogtreecommitdiffstats
path: root/models/oauth2.go
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-12-06 20:22:48 -0500
committerJoseph Crail <jbcrail@gmail.com>2014-12-06 20:22:48 -0500
commit39c068400e9dd3a577580faa41e87140c2d2e499 (patch)
tree96f3d13fa2f884b845c7b1507c1de07927da1617 /models/oauth2.go
parent47e7175b80d1f1bf05bd2da3a38c898596b12835 (diff)
downloadgitea-39c068400e9dd3a577580faa41e87140c2d2e499.tar.gz
gitea-39c068400e9dd3a577580faa41e87140c2d2e499.zip
Fix spelling errors in comments.
Diffstat (limited to 'models/oauth2.go')
-rw-r--r--models/oauth2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/oauth2.go b/models/oauth2.go
index 46e8e492a3..d19e248c12 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})