diff --git a/main.py b/main.py index 9ee2cb5..2133707 100644 --- a/main.py +++ b/main.py @@ -79,6 +79,10 @@ async def fastapi_redo(network: str): return True +@app.get("/getcurrentoperationid/") +async def fastapi_get_current_operaiton_id(network: str) -> int: + return get_current_operation(network) + # node @app.get("/getnodes/") async def fastapi_get_nodes(network: str) -> list[str]: