diff --git a/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts b/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts index 6e9c5a7..73f9e46 100644 --- a/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts +++ b/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts @@ -94,6 +94,7 @@ export const removeElective = function (ical: iCalFile, chosenElective: string): let remainingEvents: string[] = []; let electiveToRemove = electiveModules; + logger.info(JSON.stringify(electiveToRemove)); electiveToRemove.splice(parseInt(chosenElective), 1); logger.info('Chosen elective: ' + chosenElective); @@ -121,6 +122,7 @@ export const removeProfile = function (ical: iCalFile, chosenProfile: string): i let remainingEvents: string[] = []; let profileToRemove = profileModules; + logger.info(JSON.stringify(profileToRemove)); profileToRemove.splice(parseInt(chosenProfile), 1); logger.info('Chosen profile: ' + chosenProfile);