about summary refs log tree commit diff
path: root/fun
diff options
context:
space:
mode:
Diffstat (limited to 'fun')
-rw-r--r--fun/amsterdump/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fun/amsterdump/main.go b/fun/amsterdump/main.go
index dda9995b7c1b..77f7392f4b7c 100644
--- a/fun/amsterdump/main.go
+++ b/fun/amsterdump/main.go
@@ -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")
 	}