Fix copy mistake

This commit is contained in:
Logan Cusano
2025-05-25 23:02:16 -04:00
parent a094027a10
commit 5d35f0fa77

View File

@@ -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