feat: Update endpoint route
This commit is contained in:
parent
1a4d119b7c
commit
0658931fbd
@ -15,7 +15,7 @@ async def optimize_route(
|
|||||||
vehicle_type: str = "car"
|
vehicle_type: str = "car"
|
||||||
):
|
):
|
||||||
"""Optimize route between multiple locations"""
|
"""Optimize route between multiple locations"""
|
||||||
route_id = str(uuid.uuid4())
|
route_id = str(uuiid.uuid4())
|
||||||
|
|
||||||
if len(locations) < 2:
|
if len(locations) < 2:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user