From 2f66ae4dfff4911ba6be59f70cf27b93f3b29ade Mon Sep 17 00:00:00 2001 From: DingZQ Date: Mon, 27 Feb 2023 23:31:36 +0800 Subject: [PATCH] Change operationid to operation --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index bbb3a12..10cc2ea 100644 --- a/main.py +++ b/main.py @@ -192,8 +192,8 @@ async def fastapi_pick_operation(network: str, operation: int, discard: bool = F return pick_operation(network, operation, discard) @app.get("/syncwithserver/") -async def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet: - return sync_with_server(network, operationid) +async def fastapi_sync_with_server(network: str, operation: int) -> ChangeSet: + return sync_with_server(network, operation) @app.post("/batch/") async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet: