From 2c1f89eb30c975a59c6e45fe070d14ed2a213291 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 5 Sep 2024 15:31:41 -0700 Subject: [PATCH] fix on /user/info show all keys - even expired ones --- litellm/proxy/management_endpoints/internal_user_endpoints.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/proxy/management_endpoints/internal_user_endpoints.py b/litellm/proxy/management_endpoints/internal_user_endpoints.py index 2a359f92e01..87741362728 100644 --- a/litellm/proxy/management_endpoints/internal_user_endpoints.py +++ b/litellm/proxy/management_endpoints/internal_user_endpoints.py @@ -392,7 +392,6 @@ async def user_info( user_id=user_id, table_name="key", query_type="find_all", - expires=datetime.now(), ) if user_info is None: