1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 01:15:48 +00:00

update user api search results to include the full name

Is fully backwards compatible
Fixes #677
This commit is contained in:
Deiwin Sarjas 2014-12-02 11:43:51 +02:00
parent cd627ba16e
commit 48bb0fadc2

View File

@ -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,
}
}