1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 02:42:28 +01:00

Merge branch 'fix/sendMemberInProfile' into slowcord

This commit is contained in:
Madeline 2022-07-16 22:36:21 +10:00
commit 4a48a7bcb8

View File

@ -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, });