update user api search results to include the full name

Is fully backwards compatible
Fixes #677
tokarchuk/v1.17
Deiwin Sarjas 10 years ago
parent cd627ba16e
commit 48bb0fadc2
  1. 1
      routers/api/v1/user.go

@ -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…
Cancel
Save