Fixed set junction coords error

This commit is contained in:
DingZQ
2022-09-25 13:26:10 +08:00
parent 843d22cc3f
commit c7269a960e

View File

@@ -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: