mirror of
https://github.com/langgenius/dify.git
synced 2026-02-22 19:15:47 +08:00
fix: inner_api get_user_tenant (#25462)
This commit is contained in:
@ -75,9 +75,6 @@ def get_user_tenant(view: Optional[Callable[P, R]] = None):
|
||||
if not user_id:
|
||||
user_id = DEFAULT_SERVICE_API_USER_ID
|
||||
|
||||
del kwargs["tenant_id"]
|
||||
del kwargs["user_id"]
|
||||
|
||||
try:
|
||||
tenant_model = (
|
||||
db.session.query(Tenant)
|
||||
|
||||
Reference in New Issue
Block a user