aboutsummaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-11-29 09:25:47 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-11-29 11:50:22 +0100
commit42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1 (patch)
tree125a480f9643570c92dd2859ba3bfc6d2b39b31d /models/user.go
parentdad806d3ea0da6a09eea14ac467d0c843a98dda4 (diff)
downloadgitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.tar.gz
gitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.zip
Fix breakage from vendor-update
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index 63544b365f..ad20abe24d 100644
--- a/models/user.go
+++ b/models/user.go
@@ -174,7 +174,7 @@ func (u *User) APIFormat() *api.User {
UserName: u.Name,
FullName: u.FullName,
Email: u.Email,
- AvatarUrl: u.AvatarLink(),
+ AvatarURL: u.AvatarLink(),
}
}