Change operationid to operation
This commit is contained in:
4
main.py
4
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:
|
||||
|
||||
Reference in New Issue
Block a user