Fixed undo/redo
This commit is contained in:
4
main.py
4
main.py
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user