add supertoken security to delete api
This commit is contained in:
@@ -116,7 +116,7 @@ async def insert_Patient_Note(itemRequest : patientNoteInsertRequest, session: S
|
|||||||
|
|
||||||
# Update Patient note on table
|
# Update Patient note on table
|
||||||
@router.delete("/notes/delete/", tags=["Patients Notes"])
|
@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()
|
# today = date.today()
|
||||||
db = database.dbConnection.dbConnect()
|
db = database.dbConnection.dbConnect()
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
|
|||||||
Reference in New Issue
Block a user