This commit is contained in:
DingZQ
2022-11-26 23:44:55 +08:00
parent 251d544978
commit 8be14377c8

View File

@@ -155,7 +155,7 @@ async def fastapi_pick_snapeshot(network: str, snapshot: str)-> ChangeSet:
async def fastapi_pick_operation(network: str, operation: int) -> ChangeSet: async def fastapi_pick_operation(network: str, operation: int) -> ChangeSet:
return pick_operation(network, operation) return pick_operation(network, operation)
@app.get("/getrestoreopeation/") @app.get("/getrestoreoperation/")
async def fastapi_get_restore_operation(network : str) -> int: async def fastapi_get_restore_operation(network : str) -> int:
return get_restore_operation(network) return get_restore_operation(network)