From d78c83b49d2f6a91bb8ae3cb385c7896f3f13f28 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Wed, 11 Mar 2026 20:46:06 +0100 Subject: [PATCH] chore: add security --- backend/gestion/services/tomtom.go | 1 - 1 file changed, 1 deletion(-) 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,