From dff9371b32893674211c96c620cfe2063243dc39 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 25 May 2025 23:04:22 -0400 Subject: [PATCH] Remove unused body param --- app/routers/nodes.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/routers/nodes.py b/app/routers/nodes.py index 10f0629..3962457 100644 --- a/app/routers/nodes.py +++ b/app/routers/nodes.py @@ -234,17 +234,10 @@ async def op25_start(client_id): """ Send an OP25 start command to the specific node """ - data = await request.get_json() - - system_id = data.get("system_id") - # Check to make sure the client is online if client_id not in current_app.active_clients: return jsonify({"error": f"Client {client_id} not found, it might be offline"}), 404 - if not system_id: - return jsonify({"error":"No System ID supplied"}), 400 - try: # Send the command asynchronously await send_command_to_client(client_id, NodeCommands.OP25_START)