feat: Update endpoint route

This commit is contained in:
Backend IM Bot 2025-03-19 16:38:07 +00:00
parent 1a4d119b7c
commit 0658931fbd

View File

@ -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(