Administrator snowflake ids should be in strings

This commit is contained in:
Jeremy Zhang 2018-01-24 05:58:51 +00:00
parent eea94477ea
commit e5f7a90773

View File

@ -8,5 +8,5 @@ def get_administrators_list():
q = db.session.query(Administrators).all() q = db.session.query(Administrators).all()
their_ids = [] their_ids = []
for admin in q: for admin in q:
their_ids.append(admin.user_id) their_ids.append(str(admin.user_id))
return their_ids return their_ids