1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 12:42:44 +01:00

Merge branch 'fix/sendMemberInProfile' into slowcord

This commit is contained in:
Madeline 2022-07-16 22:34:43 +10:00
commit 884aaaae37

View File

@ -74,7 +74,7 @@ router.get("/", route({ test: { response: { body: "UserProfileResponse" } } }),
mute: guild_member.mute,
nick: guild_member.nick,
premium_since: guild_member.premium_since,
roles: guild_member.roles.map(x => x.id),
roles: guild_member.roles.map(x => x.id).filter(id => id != guild_id),
user: userDto
} : undefined;