fix(backend): return members in /users/{userRef}
This commit is contained in:
parent
37c01753c9
commit
8ab4c2a91b
2 changed files with 40 additions and 9 deletions
|
@ -194,7 +194,7 @@ func (s *Server) patchUser(w http.ResponseWriter, r *http.Request) error {
|
|||
}
|
||||
|
||||
// echo the updated user back on success
|
||||
render.JSON(w, r, dbUserToResponse(u, fields, names, pronouns))
|
||||
render.JSON(w, r, dbUserToResponse(u, fields, names, pronouns, nil))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue