typo
This commit is contained in:
parent
673c91bc33
commit
70df7a47db
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ async def get_current_user(
|
|||
|
||||
|
||||
@router.post(
|
||||
"/",
|
||||
"",
|
||||
responses={
|
||||
status.HTTP_200_OK: Responses.OK,
|
||||
status.HTTP_400_BAD_REQUEST: Responses.NOT_INSTALLED,
|
||||
|
@ -131,7 +131,7 @@ async def remove_user(
|
|||
)
|
||||
|
||||
# fail if deletion was unsuccessful
|
||||
if not user.delete():
|
||||
if not user.delete(db):
|
||||
raise HTTPException(status_code=status.HTTP_409_CONFLICT)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue