From b211147ff0039e60016c2189950233a12f2387c6 Mon Sep 17 00:00:00 2001 From: Yansong Zhang <916125788@qq.com> Date: Mon, 13 Oct 2025 15:13:07 +0800 Subject: [PATCH] fix: get app model without check tenant in trial --- api/controllers/console/app/wraps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/controllers/console/app/wraps.py b/api/controllers/console/app/wraps.py index 520955c247..a3437d541d 100644 --- a/api/controllers/console/app/wraps.py +++ b/api/controllers/console/app/wraps.py @@ -21,6 +21,7 @@ def _load_app_model(app_id: str) -> App | None: ) return app_model + def _load_app_model_with_trial(app_id: str) -> App | None: assert isinstance(current_user, Account) app_model = ( @@ -30,6 +31,7 @@ def _load_app_model_with_trial(app_id: str) -> App | None: ) return app_model + def get_app_model(view: Callable[P, R] | None = None, *, mode: Union[AppMode, list[AppMode], None] = None): def decorator(view_func: Callable[P, R]): @wraps(view_func)