mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
fixed user id
This commit is contained in:
parent
fa95853718
commit
ef25ecb68e
1 changed files with 1 additions and 1 deletions
|
|
@ -3760,7 +3760,7 @@ async def list_keys(
|
|||
else:
|
||||
admin_team_ids = None
|
||||
|
||||
if user_id is None and user_api_key_dict.user_role not in [
|
||||
if not user_id and user_api_key_dict.user_role not in [
|
||||
LitellmUserRoles.PROXY_ADMIN.value,
|
||||
LitellmUserRoles.PROXY_ADMIN_VIEW_ONLY.value,
|
||||
]:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue