Fix weird code in weathergov, still returns no data though

This commit is contained in:
veeck
2022-03-22 21:11:44 +01:00
parent af5eb3447f
commit eca339ad60

View File

@@ -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.