diff --git a/routes/weather.js b/routes/weather.js index 714b6f6..b9389c5 100755 --- a/routes/weather.js +++ b/routes/weather.js @@ -58,7 +58,7 @@ function getOWMWeatherData( location, callback ) { return; } - if ( !weather.list ) { + if ( !data.list ) { callback(weather); return; }