fix: return u.ListPrivate in PATCH /users/@me response

This commit is contained in:
Sam 2023-04-02 23:10:57 +02:00
parent 5bdb25866c
commit 691711d542
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 1 additions and 0 deletions

View File

@ -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,