From e5f7a90773b92e470fad12e8e40672d0eae71e88 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 24 Jan 2018 05:58:51 +0000 Subject: [PATCH] Administrator snowflake ids should be in strings --- webapp/titanembeds/database/administrators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/database/administrators.py b/webapp/titanembeds/database/administrators.py index 8deebf0..f4dd38f 100644 --- a/webapp/titanembeds/database/administrators.py +++ b/webapp/titanembeds/database/administrators.py @@ -8,5 +8,5 @@ def get_administrators_list(): q = db.session.query(Administrators).all() their_ids = [] for admin in q: - their_ids.append(admin.user_id) + their_ids.append(str(admin.user_id)) return their_ids \ No newline at end of file