From e8c8b1dd0d4a0e35b3c3e58c0ec3e57dfe74f22b Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Sun, 23 Mar 2025 15:43:48 +0000 Subject: [PATCH] Update code in endpoints/users.get.py --- endpoints/users.get.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/endpoints/users.get.py b/endpoints/users.get.py index 264ec21..3b8570c 100644 --- a/endpoints/users.get.py +++ b/endpoints/users.get.py @@ -6,16 +6,15 @@ router = APIRouter() @router.get("/users") async def get_users(): - """Get all users endpoint""" + """Demo get users endpoint""" if not users: raise HTTPException(status_code=404, detail="No users found") - + return { "message": "Users retrieved successfully", "users": users, - "count": len(users), "features": { - "pagination": False, - "search": False + "rate_limit": 100, + "expires_in": 3600 } } \ No newline at end of file