From 9713435620f2243a492b1c52cc43180a3cfb67ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Wed, 13 Oct 2021 13:34:50 +0200 Subject: [PATCH] Adding high performance computing as elective module --- .../rapla-middleware/RaPlaMiddleware.router.ts | 18 ------------------ .../icalgenerator/icalgenerator.service.ts | 3 ++- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/models/rapla-middleware/RaPlaMiddleware.router.ts b/src/models/rapla-middleware/RaPlaMiddleware.router.ts index f9e47b2..e0a9107 100644 --- a/src/models/rapla-middleware/RaPlaMiddleware.router.ts +++ b/src/models/rapla-middleware/RaPlaMiddleware.router.ts @@ -43,21 +43,3 @@ raPlaMiddlewareRouter.get('/', async (req: Request, res: Response) => { }); } }); - -let electiveModules = { - 1: {name: ''}, - 2: {name: ''}, - 3: {name: ''}, - 4: {name: ''}, - 5: {name: ''}, - 6: {name: ''}, - 7: {name: ''} -}; - -let profileModules = { - 1: {name: ''}, - 2: {name: ''}, - 3: {name: ''}, - 4: {name: ''}, - 5: {name: ''} -}; diff --git a/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts b/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts index 4f30e1b..8be9fab 100644 --- a/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts +++ b/src/models/rapla-middleware/icalgenerator/icalgenerator.service.ts @@ -152,7 +152,8 @@ export const removeElective = function (ical: iCalFile, chosenElective: string): {name: 'Forensik'}, {name: 'Kryptographische Verfahren'}, {name: 'Robotik'}, - {name: 'Web-Services'} + {name: 'Web-Services'}, + {name: 'High Performance Computing'} ]; electiveToRemove.splice(parseInt(chosenElective), 1);