fix(backend): return display_name in GET /users/:id/members
This commit is contained in:
parent
ee25781f2b
commit
4e056632c8
1 changed files with 8 additions and 7 deletions
|
@ -28,6 +28,7 @@ func membersToMemberList(ms []db.Member, isSelf bool) []memberListResponse {
|
|||
resps[i] = memberListResponse{
|
||||
ID: ms[i].ID,
|
||||
Name: ms[i].Name,
|
||||
DisplayName: ms[i].DisplayName,
|
||||
Bio: ms[i].Bio,
|
||||
Avatar: ms[i].Avatar,
|
||||
Links: db.NotNull(ms[i].Links),
|
||||
|
|
Loading…
Reference in a new issue