From a3045a79b717618c1c21fb9c15a430b0b2d4b655 Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Wed, 31 Jul 2024 14:09:04 +0200 Subject: [PATCH] add supertoken security to delete api --- backend/routers/patients_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/patients_notes.py b/backend/routers/patients_notes.py index cf1d41c1..a6670d72 100644 --- a/backend/routers/patients_notes.py +++ b/backend/routers/patients_notes.py @@ -116,7 +116,7 @@ async def insert_Patient_Note(itemRequest : patientNoteInsertRequest, session: S # Update Patient note on table @router.delete("/notes/delete/", tags=["Patients Notes"]) -async def Delete_Patient_note(itemRequest : noteDeleteRequest ): #session: SessionContainer = Depends(verify_session()) +async def Delete_Patient_note(itemRequest : noteDeleteRequest, session: SessionContainer = Depends(verify_session()) ): #session: SessionContainer = Depends(verify_session()) # today = date.today() db = database.dbConnection.dbConnect() cursor = db.cursor()