diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-16 22:36:21 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-16 22:36:21 +1000 |
commit | 62635dfba1088906d1c62b0f2c6123ab0312063b (patch) | |
tree | defd68d292ef6020aca1344db5f0a6193b6e8369 | |
parent | Merge branch 'fix/sendMemberInProfile' into slowcord (diff) | |
parent | Actually respect with_mutual_guilds (diff) | |
download | server-62635dfba1088906d1c62b0f2c6123ab0312063b.tar.xz |
Merge branch 'fix/sendMemberInProfile' into slowcord
-rw-r--r-- | api/src/routes/users/#id/profile.ts | 2 |
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 f8eee876..a77fbdb5 100644 --- a/api/src/routes/users/#id/profile.ts +++ b/api/src/routes/users/#id/profile.ts @@ -21,7 +21,7 @@ router.get("/", route({ test: { response: { body: "UserProfileResponse" } } }), var mutual_guilds: object[] = []; var premium_guild_since; - if (with_mutual_guilds) { + if (with_mutual_guilds == "true") { const requested_member = await Member.find({ id: req.params.id, }); const self_member = await Member.find({ id: req.user_id, }); |