Fix typo in endpoint specification

This commit is contained in:
Iam54r1n4
2025-01-30 20:30:46 +00:00
parent 37853b91dc
commit 14fe10c586

View File

@ -69,7 +69,7 @@ async def add_user(body: AddUserInputBody):
raise HTTPException(status_code=400, detail=f'Error: {str(e)}') raise HTTPException(status_code=400, detail=f'Error: {str(e)}')
@router.patch('{username}', response_model=DetailResponse) @router.patch('/{username}', response_model=DetailResponse)
async def edit_user(username: str, body: EditUserInputBody): async def edit_user(username: str, body: EditUserInputBody):
""" """
Edit a user's details. Edit a user's details.