mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix import
This commit is contained in:
parent
443580b9fe
commit
1c2b039d60
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ from litellm.proxy.auth.route_checks import RouteChecks
|
|||
from litellm.proxy.utils import PrismaClient, ProxyLogging, log_to_opentelemetry
|
||||
from litellm.types.services import ServiceLoggerPayload, ServiceTypes
|
||||
|
||||
from .auth_checks_organization import organization_role_based_access_check
|
||||
from .auth_checks_organization import OrganizationRoleBasedAccessChecks
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from opentelemetry.trace import Span as _Span
|
||||
|
|
@ -208,7 +208,7 @@ def common_checks( # noqa: PLR0915
|
|||
)
|
||||
|
||||
# 10 [OPTIONAL] Organization RBAC checks
|
||||
organization_role_based_access_check(
|
||||
OrganizationRoleBasedAccessChecks.organization_role_based_access_check(
|
||||
user_object=user_object, route=route, request_body=request_body
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue