diff --git a/app/routers/bot.py b/app/routers/bot.py index 4a2968d..ef3b160 100644 --- a/app/routers/bot.py +++ b/app/routers/bot.py @@ -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}")