From 5e6ee765d8a0b8aba6461189138e4e3e403bc6c3 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 25 May 2025 20:43:32 -0400 Subject: [PATCH] Fix naming when getting all discord tokens --- app/routers/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}")