diff --git a/server.js b/server.js index 96c9504..1f56a71 100644 --- a/server.js +++ b/server.js @@ -39,9 +39,7 @@ app.post('/merge', async (req, res) => { if (!linkGroupName || !calendars || !Array.isArray(calendars) || calendars.length === 0) { return res.status(400).json({ error: 'Invalid input. Please provide a linkGroupName and at least one calendar.' }); } - // Generate a unique identifier for this set of calendars - const calendarId = crypto.randomBytes(16).toString('hex'); - + // Fetch calendar data from URLs const promises = calendars.map((calendar) => { return axios.get(calendar.url)