summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user.go
diff options
context:
space:
mode:
authorDeiwin Sarjas <deiwin.sarjas@gmail.com>2014-12-02 11:43:51 +0200
committerDeiwin Sarjas <deiwin.sarjas@gmail.com>2014-12-02 11:44:03 +0200
commit48bb0fadc2ddc362fe2da272767aba614f691645 (patch)
tree7cddf5e285a889b8ad170472bf63a8586aa58b21 /routers/api/v1/user.go
parentcd627ba16e25b9844e82f3ea5f2a310834a9022a (diff)
downloadgitea-48bb0fadc2ddc362fe2da272767aba614f691645.tar.gz
gitea-48bb0fadc2ddc362fe2da272767aba614f691645.zip
update user api search results to include the full name
Is fully backwards compatible Fixes #677
Diffstat (limited to 'routers/api/v1/user.go')
-rw-r--r--routers/api/v1/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/user.go b/routers/api/v1/user.go
index 2b41adaeac..15c423f72c 100644
--- a/routers/api/v1/user.go
+++ b/routers/api/v1/user.go
@@ -37,6 +37,7 @@ func SearchUsers(ctx *middleware.Context) {
results[i] = &api.User{
UserName: us[i].Name,
AvatarUrl: us[i].AvatarLink(),
+ FullName: us[i].FullName,
}
}