mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 17:56:21 +00: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:
commit
b9999427a8
|
@ -37,6 +37,7 @@ func SearchUsers(ctx *middleware.Context) {
|
||||||
results[i] = &api.User{
|
results[i] = &api.User{
|
||||||
UserName: us[i].Name,
|
UserName: us[i].Name,
|
||||||
AvatarUrl: us[i].AvatarLink(),
|
AvatarUrl: us[i].AvatarLink(),
|
||||||
|
FullName: us[i].FullName,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue