remove second declaration of the filename
This commit is contained in:
parent
0a9cddcbaa
commit
63b1e9b079
|
@ -86,8 +86,7 @@ app.post('/merge', async (req, res) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Save merged calendar to .ics file with unique identifier
|
// Save merged calendar to .ics file with the sanitized linkGroupName
|
||||||
const filename = `${calendarId}.ics`;
|
|
||||||
let icalString = `BEGIN:VCALENDAR
|
let icalString = `BEGIN:VCALENDAR
|
||||||
VERSION:2.0
|
VERSION:2.0
|
||||||
CALSCALE:GREGORIAN
|
CALSCALE:GREGORIAN
|
||||||
|
|
Loading…
Reference in New Issue