Fixed undo/redo

This commit is contained in:
DingZQ
2022-09-27 22:22:14 +08:00
parent a469f1c42c
commit 78573a32c5

View File

@@ -84,13 +84,13 @@ async def fastapi_unlock_project(network: str):
# undo/redo # undo/redo
@app.post("/undo/") @app.post("/undo/")
async def fastapi_undo(network: str): async def fastapi_undo(network: str):
undo(network) execute_undo(network)
return True return True
@app.post("/redo/") @app.post("/redo/")
async def fastapi_redo(network: str): async def fastapi_redo(network: str):
redo(network) execute_redo(network)
return True return True