Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00

Merge pull request #694 from deiwin/update/user-api-to-include-full-name

update user api search results to include the full name
This commit is contained in:
无闻 2014-12-02 07:50:05 -05:00
commit b9999427a8

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