Fixed takesnapshot

This commit is contained in:
DingZQ
2022-10-24 21:55:12 +08:00
parent 4371d551f9
commit 3dbb6e280c

View File

@@ -104,7 +104,7 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet
cs.operations = jo_root['operations']
return execute_batch_commands(network, cs)
@app.post("/tacksnapshot/")
@app.post("/takesnapshot/")
async def fastapi_take_snapeshot(network: str, snapshot: str)-> int:
return take_snapshot(network, snapshot)