Explorar el Código

fix: inner_api get_user_tenant (#25462)

tags/1.9.0
Will hace 1 mes
padre
commit
fecdb9554d
No account linked to committer's email address
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0
    3
      api/controllers/inner_api/plugin/wraps.py

+ 0
- 3
api/controllers/inner_api/plugin/wraps.py Ver fichero

@@ -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)

Cargando…
Cancelar
Guardar