fix: inner_api get_user_tenant (#25462)

This commit is contained in:
Will 2025-09-10 11:31:16 +08:00 committed by GitHub
parent 45ef177809
commit fecdb9554d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

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)