From 80ecb4a21219afcebed5a2747357307921ea9764 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 15 Oct 2022 15:02:52 +0800 Subject: [PATCH] Change , to : --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 61ca969..5ab0cb8 100644 --- a/main.py +++ b/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)) @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