From 5d35f0fa770bfecf29b7ecfb35ebf209bccb5086 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 25 May 2025 23:02:16 -0400 Subject: [PATCH] Fix copy mistake --- app/routers/nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routers/nodes.py b/app/routers/nodes.py index 1eb5aa4..10f0629 100644 --- a/app/routers/nodes.py +++ b/app/routers/nodes.py @@ -266,7 +266,7 @@ async def op25_stop(client_id): try: # Send the command asynchronously - await send_command_to_client(client_id, NodeCommands.OP25_START) + await send_command_to_client(client_id, NodeCommands.OP25_STOP) return jsonify({"status": "command sent", "client_id": client_id, "command": NodeCommands.OP25_STOP}), 200 @@ -297,7 +297,7 @@ async def op25_set(client_id): return jsonify({"error": "'args' must be a list"}), 400 # Send the command asynchronously - await send_command_to_client(client_id, NodeCommands.OP25_START, *args) + await send_command_to_client(client_id, NodeCommands.OP25_SET, *args) return jsonify({"status": "command sent", "client_id": client_id, "command": NodeCommands.OP25_SET}), 200