From e35af92cb98dbab8f56920e48e5dad2c3188168c Mon Sep 17 00:00:00 2001 From: NotNite Date: Tue, 21 Sep 2021 18:18:51 -0400 Subject: [PATCH] fix mutual guilds menu --- litecord/blueprints/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/users.py b/litecord/blueprints/users.py index 7757c8e..af4e028 100644 --- a/litecord/blueprints/users.py +++ b/litecord/blueprints/users.py @@ -417,7 +417,7 @@ async def get_profile(peer_id: int): "premium_since": peer_premium, } - if request.args.get("with_mutual_guilds") in (None, True): + if request.args.get("with_mutual_guilds", type=bool) in (None, True): result["mutual_guilds"] = await map_guild_ids_to_mutual_list( mutual_guilds, peer_id )