From c4a26cae5356ac112bf842e61be59140f732680e Mon Sep 17 00:00:00 2001 From: Omar Elkadi <omar.elkadi@stud.th-deg.de> Date: Tue, 6 Jul 2021 18:19:18 +0200 Subject: [PATCH] nothing --- server/src/routes/patientRoutes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/routes/patientRoutes.ts b/server/src/routes/patientRoutes.ts index 74f4fdd..e4256f0 100644 --- a/server/src/routes/patientRoutes.ts +++ b/server/src/routes/patientRoutes.ts @@ -48,7 +48,7 @@ export class patientRoutes { // parse JSON to Objects var patientStudent = JSON.parse(body.patientStudent); var sickNote = JSON.parse(body.SickNote); - + const path = "./uploads/reports/" + patientStudent.MatrikelNumber + ".json"; var sickReport = { patientStudent, @@ -72,10 +72,10 @@ export class patientRoutes { // create the collection if not exist try{ await db.createCollection( "Students",{} ) - console.log("Collection Student is created") + console.log("new collection Student is created") } catch(error){ - console.log("Collection already exists, so it didnot be created") + console.log("Collection is already exists, so it would not be created") } // define a collection and insert a new record try { -- GitLab