Преглед изворни кода

fix: inner_api get_user_tenant (#25462)

tags/1.9.0
Will пре 1 месец
родитељ
комит
fecdb9554d
No account linked to committer's email address
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0
    3
      api/controllers/inner_api/plugin/wraps.py

+ 0
- 3
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)

Loading…
Откажи
Сачувај