From b4e04a27c357997e5f2bdf022048b12d460b3c3e Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Tue, 23 Jan 2018 22:59:34 +0000 Subject: [PATCH] Hotfix member sidebar misbehaving, not showing role heiarchy --- webapp/titanembeds/blueprints/api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/blueprints/api/api.py b/webapp/titanembeds/blueprints/api/api.py index 33c4fac..8ad9bed 100644 --- a/webapp/titanembeds/blueprints/api/api.py +++ b/webapp/titanembeds/blueprints/api/api.py @@ -87,7 +87,7 @@ def get_online_discord_users(guild_id, embed): for role in guild_roles: guildroles_filtered[role["id"]] = role for member in embed['members']: - apimem = apimembers_filtered.get(member["id"]) + apimem = apimembers_filtered.get(int(member["id"])) member["hoist-role"] = None member["color"] = None if apimem: