Compare commits

..

No commits in common. "5a00247eef462e27ff89fb1f4d8eb85da4dad698" and "d7de5841d056036b0c8e8567a5c62a692adfab82" have entirely different histories.

1 changed files with 0 additions and 27 deletions

View File

@ -103,33 +103,6 @@ app.get('/:filename', (req, res) => {
// Store the merged calendar URL in a file
const mergedCalendarUrlFile = 'merged_calendar_url.txt';
//calendarData object to store calendar data
let calendarData = {
linkGroups: []
};
// Function to add a new link group
function addLinkGroup(name) {
const newLinkGroup = {
name,
links: []
};
calendarData.linkGroups.push(newLinkGroup);
return newLinkGroup;
}
// Function to add a new link to a link group
function addLinkToGroup(linkGroup, url, prefix, overrideSummary) {
const newLink = {
url,
prefix,
overrideSummary
};
linkGroup.links.push(newLink);
return newLink;
}
// Function to update the merged calendar
async function updateMergedCalendar(){
try {