mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 02:41:16 +01:00
update user api search results to include the full name
Is fully backwards compatible Fixes #677
This commit is contained in:
parent
cd627ba16e
commit
48bb0fadc2
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue