From 8d3fcdce0cb3d20259d63174449f2e614436e2b4 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Fri, 21 Mar 2025 18:24:55 +0000 Subject: [PATCH] Update code in endpoints/LOGOUT.post.py --- endpoints/LOGOUT.post.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/endpoints/LOGOUT.post.py b/endpoints/LOGOUT.post.py index e5c17da..288ec4a 100644 --- a/endpoints/LOGOUT.post.py +++ b/endpoints/LOGOUT.post.py @@ -1,7 +1,5 @@ from fastapi import APIRouter, HTTPException -users = [] # In-memory storage - router = APIRouter() @router.post("/LOGOUT") @@ -9,9 +7,10 @@ async def logout_demo(): """Demo logout endpoint""" return { "message": "Logout successful", - "token": None, + "method": "POST", + "_verb": "post", "features": { - "rate_limit": 0, - "expires_in": 0 + "rate_limit": 100, + "expires_in": 3600 } } \ No newline at end of file