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,