fix(fun/amsterdump): Fix call to os.Getenv

Not sure how this broken version ended up committed ...
This commit is contained in:
Vincent Ambo 2020-02-21 12:51:00 +00:00
parent f2235ba0ae
commit 3d1f568ddb

View file

@ -84,7 +84,7 @@ func main() {
failOn(err, "could not deserialise listings:")
ctx := context.Background()
apiKey = os.Getenv("MAPS_API_KEY", "")
apiKey := os.Getenv("MAPS_API_KEY")
if apiKey == "" {
log.Fatalln("API key must be supplied via MAPS_API_KEY")
}