From 09ed25dfc0bb2dd56207a4bf98c89c93b5b1560a Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Mon, 26 May 2025 01:19:52 -0400 Subject: [PATCH] Fix copy mistake --- app/routers/systems.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routers/systems.py b/app/routers/systems.py index 90bbc17..bbbdfb5 100644 --- a/app/routers/systems.py +++ b/app/routers/systems.py @@ -135,11 +135,11 @@ async def update_system_route(system_id: str): async def delete_system_route(system_id: str): try: query = {"_id": system_id} - delete_count = await current_app.d_id_db_h.delete_discord_id(query) + delete_count = await current_app.sys_db_h.delete_system(query) if delete_count is not None: if delete_count > 0: - return jsonify({"message": f"Successfully deleted {delete_count} Discord ID(s)."}), 200 + return jsonify({"message": f"Successfully deleted {delete_count} systems(s)."}), 200 else: abort(404, "System not found.") else: