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)
|
return pick_operation(network, operation, discard)
|
||||||
|
|
||||||
@app.get("/syncwithserver/")
|
@app.get("/syncwithserver/")
|
||||||
async def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet:
|
async def fastapi_sync_with_server(network: str, operation: int) -> ChangeSet:
|
||||||
return sync_with_server(network, operationid)
|
return sync_with_server(network, operation)
|
||||||
|
|
||||||
@app.post("/batch/")
|
@app.post("/batch/")
|
||||||
async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet:
|
async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet:
|
||||||
|
|||||||
Reference in New Issue
Block a user