This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
fix: inner_api get_user_tenant (
#25462
)
tags/1.9.0
Will
1 month ago
parent
45ef177809
commit
fecdb9554d
No account linked to committer's email address
1 changed files
with
0 additions
and
3 deletions
Split View
Show Diff Stats
0
3
api/controllers/inner_api/plugin/wraps.py
+ 0
- 3
api/controllers/inner_api/plugin/wraps.py
View File
@@ -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)
Write
Preview
Loading…
Cancel
Save