summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/convert
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 /routers/api/v1/convert
parentdad806d3ea0da6a09eea14ac467d0c843a98dda4 (diff)
downloadgitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.tar.gz
gitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.zip
Fix breakage from vendor-update
Diffstat (limited to 'routers/api/v1/convert')
-rw-r--r--routers/api/v1/convert/convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index 8608d17d99..9729e65452 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -115,7 +115,7 @@ func ToDeployKey(apiLink string, key *models.DeployKey) *api.DeployKey {
func ToOrganization(org *models.User) *api.Organization {
return &api.Organization{
ID: org.ID,
- AvatarUrl: org.AvatarLink(),
+ AvatarURL: org.AvatarLink(),
UserName: org.Name,
FullName: org.FullName,
Description: org.Description,