mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
update
This commit is contained in:
parent
8ded621b35
commit
3faf136c72
1 changed files with 1 additions and 0 deletions
|
|
@ -817,6 +817,7 @@ async def get_guardrail_submission(
|
|||
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
|
||||
):
|
||||
"""Get a single guardrail submission by id (admin only)."""
|
||||
|
||||
from litellm.proxy.proxy_server import prisma_client
|
||||
|
||||
if user_api_key_dict.user_role != LitellmUserRoles.PROXY_ADMIN:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue