diff --git a/server.js b/server.js index 083efa5..8d85381 100644 --- a/server.js +++ b/server.js @@ -137,10 +137,10 @@ async function updateMergedCalendar(){ VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH -BEGIN:VEVENT `; mergedCal.forEach((event) => { - icalString += `DTSTART:${event.start} + icalString += `BEGIN:VEVENT +DTSTART:${event.start} DTEND:${event.end} SUMMARY:${event.summary} END:VEVENT