From 691711d542cf9e33b647685ee20f00f73e8fdc0a Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 2 Apr 2023 23:10:57 +0200 Subject: [PATCH] fix: return u.ListPrivate in PATCH /users/@me response --- backend/routes/user/patch_user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/routes/user/patch_user.go b/backend/routes/user/patch_user.go index 56a89cc..01a32c2 100644 --- a/backend/routes/user/patch_user.go +++ b/backend/routes/user/patch_user.go @@ -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,