add supertoken security to delete api
This commit is contained in:
parent
e6fffc6cd2
commit
a3045a79b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue