1
0
Fork 0

Save merged calendar to file with unique identifier

This commit is contained in:
Ryan Mwangi 2024-10-18 15:33:21 +03:00
parent 6c9af1f4e4
commit 84f4d4b855
1 changed files with 3 additions and 3 deletions

View File

@ -73,8 +73,8 @@ app.post('/merge', async (req, res) => {
});
// Save merged calendar to file
const filename = `merged-${Date.now()}.ics`;
// Save merged calendar to file with unique identifier
const filename = `${calendarId}.ics`;
let icalString = `BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN