remove second declaration of the filename

This commit is contained in:
Ryan Mwangi 2024-10-28 15:08:25 +03:00
parent 0a9cddcbaa
commit 63b1e9b079
1 changed files with 2 additions and 3 deletions

View File

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