fix: return u.ListPrivate in PATCH /users/@me response
This commit is contained in:
parent
5bdb25866c
commit
691711d542
|
@ -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 New Issue