From ba8b100e3302c51d5ed5dc0d82b5f46591d30541 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 24 Jan 2018 21:38:43 +0000 Subject: [PATCH] Make ids as strings for online embed users --- 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 8ad9bed..6f9c471 100644 --- a/webapp/titanembeds/blueprints/api/api.py +++ b/webapp/titanembeds/blueprints/api/api.py @@ -125,7 +125,7 @@ def get_online_embed_users(guild_id): client_id = user.client_id usrdb = db.session.query(GuildMembers).filter(GuildMembers.guild_id == guild_id).filter(GuildMembers.user_id == client_id).first() meta = { - 'id': usrdb.user_id, + 'id': str(usrdb.user_id), 'username': usrdb.username, 'nickname': usrdb.nickname, 'discriminator': usrdb.discriminator,