chore: add security

This commit is contained in:
2026-03-11 20:40:53 +01:00
parent ee4e92057a
commit 6b42a3d25b
-1
View File
@@ -15,7 +15,6 @@ import (
"time" "time"
) )
// GetETAWithTraffic calcule l'ETA avec le trafic réel via TomTom
func GetETAWithTraffic(from, to Coordinates) (etaMinutes int, distanceKm float64, err error) { func GetETAWithTraffic(from, to Coordinates) (etaMinutes int, distanceKm float64, err error) {
apiKey := os.Getenv("TOMTOM_API_KEY") apiKey := os.Getenv("TOMTOM_API_KEY")
if apiKey == "" { if apiKey == "" {