updated weather

This commit is contained in:
martind2000 2016-02-14 23:04:14 +00:00
parent e2463d19bc
commit d664262899
2 changed files with 2 additions and 3 deletions

View File

@ -251,10 +251,9 @@ module.exports = {
if (err) throw err;
j.currently = data.currently.summary;
j.today = data.daily[0].summary;
j.today = data.daily.data[0].summary;
j.later = data.daily.summary;
j.alerts = data.alerts || {};
todayCache.data.weather = j;
});

View File

@ -29,7 +29,7 @@ module.exports = {
console.log(util.inspect(data));
saveData(data);
j.currently = data.currently.summary;
j.today = data.daily[0].summary;
j.today = data.daily.data[0].summary;
j.later = data.daily.summary;
j.alerts = data.alerts || {};