mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
address greptile review feedback (greploop iteration 1)
This commit is contained in:
parent
09ffc87734
commit
ef71016dfe
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ async def _verify_org_access(
|
|||
|
||||
Raises HTTPException(403) if the caller does not have access.
|
||||
"""
|
||||
if user_api_key_dict.user_role == LitellmUserRoles.PROXY_ADMIN:
|
||||
if _user_has_admin_view(user_api_key_dict):
|
||||
return
|
||||
|
||||
if not user_api_key_dict.user_id:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue