chore: add security
This commit is contained in:
@@ -15,7 +15,6 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// GetETAWithTraffic calcule l'ETA avec le trafic réel via TomTom
|
||||
func GetETAWithTraffic(from, to Coordinates) (etaMinutes int, distanceKm float64, err error) {
|
||||
apiKey := os.Getenv("TOMTOM_API_KEY")
|
||||
if apiKey == "" {
|
||||
|
||||
Reference in New Issue
Block a user