From bd7b522e8ad4e3d31df3bafa7036293a542dd88c Mon Sep 17 00:00:00 2001 From: Samer Albahra Date: Mon, 4 Mar 2019 16:18:16 -0600 Subject: [PATCH] Fix forecast bug --- routes/weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/weather.js b/routes/weather.js index 4ed8855..0e1fcc7 100755 --- a/routes/weather.js +++ b/routes/weather.js @@ -81,7 +81,7 @@ function getOWMWeatherData( location, callback ) { temp_max: parseInt( data.list[ index ].temp.max ), date: parseInt( data.list[ index ].dt ), icon: data.list[ index ].weather[ 0 ].icon, - description: data.list[0].weather[ 0 ].description + description: data.list[ index ].weather[ 0 ].description } ); }