Change operationId to operationid

This commit is contained in:
DingZQ
2022-10-02 23:00:54 +08:00
parent f8c5bb85b3
commit 48e149b7b4

View File

@@ -95,8 +95,8 @@ async def fastapi_get_current_operaiton_id(network: str) -> int:
return get_current_operation(network)
@app.get("/syncwithserver/")
def fastapi_sync_with_server(network: str, operationId: int) -> ChangeSet:
return sync_with_server(network, operationId)
def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet:
return sync_with_server(network, operationid)
# node
@app.get("/getnodes/")