From eca339ad60939209644fdf8c252be88b4b26b119 Mon Sep 17 00:00:00 2001 From: veeck Date: Tue, 22 Mar 2022 21:11:44 +0100 Subject: [PATCH] Fix weird code in weathergov, still returns no data though --- modules/default/weather/providers/weathergov.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/default/weather/providers/weathergov.js b/modules/default/weather/providers/weathergov.js index e415ca35..82059924 100755 --- a/modules/default/weather/providers/weathergov.js +++ b/modules/default/weather/providers/weathergov.js @@ -40,7 +40,8 @@ WeatherProvider.register("weathergov", { // Called to set the config, this config is the same as the weather module's config. setConfig: function (config) { this.config = config; - (this.config.apiBase = "https://api.weather.gov"), this.fetchWxGovURLs(this.config); + this.config.apiBase = "https://api.weather.gov"; + this.fetchWxGovURLs(this.config); }, // Called when the weather provider is about to start.