diff --git a/lib/today.js b/lib/today.js index 9c06f08..f967a3a 100644 --- a/lib/today.js +++ b/lib/today.js @@ -151,7 +151,7 @@ module.exports = { }); }, preLoadToday: function() { module.exports.getTodayDate(); - todayCache.data.cal.entries = []; + todayCache.data.cal={today: [], tomorrow:[], week:[]}; weather.newDoGetWeather() .then((d)=> { todayCache.data.weather = d; @@ -206,7 +206,7 @@ module.exports = { }); } - + swedishWord.getSwedishWord() .then((d) => { 'use strict';