Fix list check

This commit is contained in:
Samer Albahra
2019-03-03 16:17:46 -06:00
parent 5fab1adc98
commit b063bd37e5

View File

@@ -58,7 +58,7 @@ function getOWMWeatherData( location, callback ) {
return;
}
if ( !weather.list ) {
if ( !data.list ) {
callback(weather);
return;
}