mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
typo when not using /onecall - was getting forecast from wrong attr
This commit is contained in:
parent
e686611890
commit
775d1091db
@ -54,7 +54,7 @@ WeatherProvider.register("openweathermap", {
|
||||
this.setWeatherForecast(weatherData.days);
|
||||
this.setFetchedLocation(`${data.timezone}`);
|
||||
} else {
|
||||
const forecast = this.generateWeatherObjectsFromForecast(data.daily);
|
||||
const forecast = this.generateWeatherObjectsFromForecast(data.list);
|
||||
this.setWeatherForecast(forecast);
|
||||
this.setFetchedLocation(`${data.city.name}, ${data.city.country}`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user