From c7269a960efbff7ccb259be2909d5799f83bcd46 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sun, 25 Sep 2022 13:26:10 +0800 Subject: [PATCH] Fixed set junction coords error --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: