Change , to :
This commit is contained in:
2
main.py
2
main.py
@@ -225,7 +225,7 @@ async def fastapi_set_junction_y(network: str, junction: str, y: float) -> Chang
|
|||||||
return set_junction(network, ChangeSet(props))
|
return set_junction(network, ChangeSet(props))
|
||||||
|
|
||||||
@app.post("/setjunctioncoord/")
|
@app.post("/setjunctioncoord/")
|
||||||
async def fastapi_set_junction_coord(network: str, junction: str, x, float, y: float) -> ChangeSet:
|
async def fastapi_set_junction_coord(network: str, junction: str, x: float, y: float) -> ChangeSet:
|
||||||
props = {}
|
props = {}
|
||||||
props['id'] = junction
|
props['id'] = junction
|
||||||
props['x'] = x
|
props['x'] = x
|
||||||
|
|||||||
Reference in New Issue
Block a user