Change operationid to operation

This commit is contained in:
DingZQ
2023-02-27 23:31:36 +08:00
parent 2e5705e2f2
commit 2f66ae4dff

View File

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