diff --git a/main.py b/main.py index c0e5ae6..87bde36 100644 --- a/main.py +++ b/main.py @@ -207,7 +207,7 @@ async def fastapi_set_junction_coord(network: str, junction: str, x: float, y: f coord['y'] = y props['coord'] = coord - return set_junction(network, junction, x, y) + return set_junction(network, junction, props) @app.post("/setjunctiondemand/") async def fastapi_set_junction_demand(network: str, junction: str, demand: float) -> ChangeSet: