From cc349e70b16730ee7a5046ba930824ffe6fd253a 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 b14280c844..01f41d6222 100644 --- a/api/controllers/console/app/wraps.py +++ b/api/controllers/console/app/wraps.py @@ -22,6 +22,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 = ( @@ -31,6 +32,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[P1, R1]): @wraps(view_func)