Merge pull request #2035 from Ekristoffe/develop

Fix for #2018
This commit is contained in:
Michael Teeuw
2020-06-02 09:17:03 +02:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -294,6 +294,8 @@ Module.register("weatherforecast", {
return;
}
params += "&cnt=" + (this.config.maxNumberOfDays < 1 || this.config.maxNumberOfDays > 17 ? 7 : this.config.maxNumberOfDays);
params += "&units=" + this.config.units;
params += "&lang=" + this.config.lang;
params += "&APPID=" + this.config.appid;