diff --git a/main.go b/main.go index 273d059..7ff525c 100644 --- a/main.go +++ b/main.go @@ -42,7 +42,7 @@ func main() { log.Fatal().Msg("missing required environment variable TOMORROW_APIKEY") os.Exit(1) } - service = Service{apiKey, *jsonFile, cacheTime} + service = Service{apiKey, *jsonFile, *cacheTime} r := mux.NewRouter() c := LogHttp(log.Logger)