Fix naming when getting all discord tokens
This commit is contained in:
@@ -65,8 +65,8 @@ async def get_all_discord_tokens():
|
||||
"""
|
||||
try:
|
||||
# get the available IDs
|
||||
active_d_ids = await current_app.d_id_db_h.find_discord_ids(active_only=False)
|
||||
return jsonify([active_id.to_dict() for active_id in active_d_ids])
|
||||
d_ids = await current_app.d_id_db_h.find_discord_ids(active_only=False)
|
||||
return jsonify([d_id.to_dict() for d_id in d_ids])
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error in request_token_route: {e}")
|
||||
|
||||
Reference in New Issue
Block a user