fix(fun/amsterdump): Fix call to os.Getenv
Not sure how this broken version ended up committed ...
This commit is contained in:
parent
f2235ba0ae
commit
3d1f568ddb
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ func main() {
|
||||||
failOn(err, "could not deserialise listings:")
|
failOn(err, "could not deserialise listings:")
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
apiKey = os.Getenv("MAPS_API_KEY", "")
|
apiKey := os.Getenv("MAPS_API_KEY")
|
||||||
if apiKey == "" {
|
if apiKey == "" {
|
||||||
log.Fatalln("API key must be supplied via MAPS_API_KEY")
|
log.Fatalln("API key must be supplied via MAPS_API_KEY")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue