Fixed error of addreservoir

This commit is contained in:
DingZQ
2022-09-22 22:23:40 +08:00
parent 23050fd3d1
commit 3f1f2435eb

View File

@@ -193,7 +193,7 @@ async def fastapi_set_junction_pattern(network: str, junction: str, pattern: str
# reservoir 3.[RESERVOIRS]
############################################################
@app.post("addreservoir/")
@app.post("/addreservoir/")
async def fastapi_add_reservoir(network: str, reservoir: str, x: float, y: float, head: float) -> ChangeSet:
return add_reservoir(network, reservoir, x, y, head)