From ca0b89ecd373834deac39bd556f447967a6bd7f3 Mon Sep 17 00:00:00 2001 From: Bryan Zhu Date: Tue, 30 Jun 2020 12:36:23 -0400 Subject: [PATCH] backtracked apiKey change to appid --- modules/default/weather/providers/openweathermap.js | 2 +- modules/default/weather/weather.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/default/weather/providers/openweathermap.js b/modules/default/weather/providers/openweathermap.js index 5f73dfb0..bf1dddfc 100755 --- a/modules/default/weather/providers/openweathermap.js +++ b/modules/default/weather/providers/openweathermap.js @@ -459,7 +459,7 @@ WeatherProvider.register("openweathermap", { params += "&units=" + this.config.units; params += "&lang=" + this.config.lang; - params += "&APPID=" + this.config.appid; + params += "&APPID=" + this.config.apiKey; return params; } diff --git a/modules/default/weather/weather.js b/modules/default/weather/weather.js index 574c3863..549eddcf 100644 --- a/modules/default/weather/weather.js +++ b/modules/default/weather/weather.js @@ -15,7 +15,7 @@ Module.register("weather", { location: false, locationID: false, - appid: "", + apiKey: "", units: config.units, tempUnits: config.units,