diff --git a/main.js b/main.js index ce647a2..6d2c756 100644 --- a/main.js +++ b/main.js @@ -283,7 +283,7 @@ async function processData(data, realnow, startpreview, endpreview, now2, calNam // only events with summary and a start date are interesting if ((ev.summary !== undefined) && (ev.type === 'VEVENT') && ev.start && ev.start instanceof Date) { - adapter.log.debug(`ev: ${JSON.stringify(ev)}`); + adapter.log.debug(`ev[${k}]: ${JSON.stringify(ev)}`); if (!ev.end || !(ev.end instanceof Date)) { ev.end = new Date(ev.start.getTime()); if (ev.start.getHours() === 0 && ev.start.getMinutes() === 0 && ev.start.getSeconds() === 0) { diff --git a/package.json b/package.json index 47ce627..43bb25b 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "axios": "^1.7.7", "cloneextend": "^0.0.3", "json-schema": "^0.4.0", - "node-ical": "^0.20.0", + "node-ical": "0.19.0", "rrule": "2.8.1" }, "devDependencies": {