Update code in endpoints/logout.post.py

This commit is contained in:
Backend IM Bot 2025-03-28 10:42:46 +01:00
parent 8f61537048
commit df409576ff

View File

@ -15,4 +15,4 @@ async def logout(
current_user: User = Depends(get_current_user)
):
logout_user(db, current_user)
return {"message": "Logout successful"}
return {"message": "Logged out successfully"}