summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-16 22:29:11 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-16 22:29:11 +1000
commit9dc2c706f7d1ce889ba84d1c3c1971273018ed94 (patch)
tree97ea57742e466f542f951a623676589e43290693
parentForgot to send roles in guild_member (diff)
parentForgot to send roles in guild_member (diff)
downloadserver-9dc2c706f7d1ce889ba84d1c3c1971273018ed94.tar.xz
Merge branch 'fix/sendMemberInProfile' into slowcord
-rw-r--r--api/src/routes/users/#id/profile.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/users/#id/profile.ts b/api/src/routes/users/#id/profile.ts
index 4480d8ed..e0d89ef3 100644
--- a/api/src/routes/users/#id/profile.ts
+++ b/api/src/routes/users/#id/profile.ts
@@ -75,7 +75,7 @@ router.get("/", route({ test: { response: { body: "UserProfileResponse" } } }),
 		nick: guild_member.nick,
 		premium_since: guild_member.premium_since,
 		roles: guild_member.roles.map(x => x.id),
-		user: 
+		user: userDto
 	} : undefined;
 
 	res.json({