forked from mirrors/pronouns.cc
fix: return u.ListPrivate in PATCH /users/@me response
This commit is contained in:
parent
5bdb25866c
commit
691711d542
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ func (s *Server) patchUser(w http.ResponseWriter, r *http.Request) error {
|
|||
GetUserResponse: dbUserToResponse(u, fields, nil),
|
||||
MaxInvites: u.MaxInvites,
|
||||
IsAdmin: u.IsAdmin,
|
||||
ListPrivate: u.ListPrivate,
|
||||
Discord: u.Discord,
|
||||
DiscordUsername: u.DiscordUsername,
|
||||
Fediverse: u.Fediverse,
|
||||
|
|
Loading…
Reference in a new issue