create a new iCalendar instance
This commit is contained in:
parent
51bfb1304a
commit
f6e0ef8fdf
|
@ -63,6 +63,9 @@ app.post('/merge', async (req, res) => {
|
||||||
// Filter out any failed requests
|
// Filter out any failed requests
|
||||||
const validResults = results.filter((result) => result !== null);
|
const validResults = results.filter((result) => result !== null);
|
||||||
|
|
||||||
|
// Create a new iCalendar instance
|
||||||
|
const calendar = icalGenerator({ name: linkGroupName });
|
||||||
|
|
||||||
// Parse calendar data
|
// Parse calendar data
|
||||||
const mergedCal = [];
|
const mergedCal = [];
|
||||||
validResults.forEach((result) => {
|
validResults.forEach((result) => {
|
||||||
|
|
Loading…
Reference in New Issue