summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
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(),
}
}