diff --git a/endpoints/logout.post.py b/endpoints/logout.post.py index da6a26a..9294eba 100644 --- a/endpoints/logout.post.py +++ b/endpoints/logout.post.py @@ -1,6 +1,6 @@ # Entity: User -from fastapi import APIRouter, Depends, status +from fastapi import APIRouter, Depends, HTTPException, status from sqlalchemy.orm import Session from core.database import get_db from models.user import User @@ -15,4 +15,4 @@ async def logout( current_user: User = Depends(get_current_user) ): logout_user(db, current_user) - return {"message": "Logged out successfully"} \ No newline at end of file + return {"message": "Logout successful"} \ No newline at end of file