fix: account isinstance

This commit is contained in:
Yansong Zhang 2025-10-23 10:55:35 +08:00
commit ffc551f003
1 changed files with 0 additions and 1 deletions

View File

@ -24,7 +24,6 @@ def _load_app_model(app_id: str) -> App | None:
def _load_app_model_with_trial(app_id: str) -> App | None:
assert isinstance(current_user, Account)
app_model = (
db.session.query(App)
.where(App.id == app_id, App.status == "normal")