diff --git a/backend/gestion/services/tomtom.go b/backend/gestion/services/tomtom.go index 0be7623a..912ccc5c 100644 --- a/backend/gestion/services/tomtom.go +++ b/backend/gestion/services/tomtom.go @@ -21,7 +21,6 @@ func GetETAWithTraffic(from, to Coordinates) (etaMinutes int, distanceKm float64 return 0, 0, fmt.Errorf("TOMTOM_API_KEY non configurée") } - // API TomTom Routing: Calculate Route avec trafic url := fmt.Sprintf( "https://api.tomtom.com/routing/1/calculateRoute/%f,%f:%f,%f/json?key=%s&traffic=true&travelMode=car", from.Latitude, from.Longitude, to.Latitude, to.Longitude, apiKey,