Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: inner_api get_user_tenant (#25462)

Willfecdb9554d2b
diff --git a/api/controllers/inner_api/plugin/wraps.py b/api/controllers/inner_api/plugin/wraps.py
index 18b530f2c41..bde0150ffd6 100644
--- a/api/controllers/inner_api/plugin/wraps.py
+++ b/api/controllers/inner_api/plugin/wraps.py
@@ -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)