chore: add security
This commit is contained in:
@@ -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 == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user