diff --git a/server.js b/server.js index 3ee1137..c4b7ff7 100644 --- a/server.js +++ b/server.js @@ -63,6 +63,9 @@ app.post('/merge', async (req, res) => { // Filter out any failed requests const validResults = results.filter((result) => result !== null); + // Create a new iCalendar instance + const calendar = icalGenerator({ name: linkGroupName }); + // Parse calendar data const mergedCal = []; validResults.forEach((result) => {