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: