Change , to :

This commit is contained in:
DingZQ
2022-10-15 15:02:52 +08:00
parent 91d99d4024
commit 80ecb4a212

View File

@@ -225,7 +225,7 @@ async def fastapi_set_junction_y(network: str, junction: str, y: float) -> Chang
return set_junction(network, ChangeSet(props))
@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['id'] = junction
props['x'] = x