From 3dbb6e280ce206e2c75df9a1bd75c7e4d5e0d631 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Mon, 24 Oct 2022 21:55:12 +0800 Subject: [PATCH] Fixed takesnapshot --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5e921dc..3975fe9 100644 --- a/main.py +++ b/main.py @@ -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)