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)