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
|
||||
@app.post("/undo/")
|
||||
async def fastapi_undo(network: str):
|
||||
undo(network)
|
||||
execute_undo(network)
|
||||
|
||||
return True
|
||||
|
||||
@app.post("/redo/")
|
||||
async def fastapi_redo(network: str):
|
||||
redo(network)
|
||||
execute_redo(network)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user