From ec38c0f8683c028985eba6e88c3474e60dd443a7 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Mon, 24 Mar 2025 09:24:27 +0100 Subject: [PATCH] Update code in endpoints/logout.post.py --- endpoints/logout.post.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/endpoints/logout.post.py b/endpoints/logout.post.py index e73e4fb..1966701 100644 --- a/endpoints/logout.post.py +++ b/endpoints/logout.post.py @@ -4,12 +4,12 @@ router = APIRouter() @router.post("/logout") async def logout(): - """Demo logout endpoint""" + """Logout endpoint""" if request.method != "POST": raise HTTPException(status_code=405, detail="Method Not Allowed") return { + "message": "Logout successful", "method": "POST", - "_verb": "post", - "message": "Logout successful (demo)" + "_verb": "post" } \ No newline at end of file