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
commita555fdcbfd0006b1b06f0e7271740c584d5261d2 (patch)
tree614ec8c990261c409e5d6ec169049745e563190f
parentForgot to send roles in guild_member (diff)
parentForgot to send roles in guild_member (diff)
downloadserver-a555fdcbfd0006b1b06f0e7271740c584d5261d2.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({