Browse Source

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

update user api search results to include the full name
tags/v1.2.0-rc1
无闻 10 years ago
parent
commit
b9999427a8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/api/v1/user.go

+ 1
- 0
routers/api/v1/user.go 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,
}
}



Loading…
Cancel
Save