mirror of
https://github.com/langgenius/dify.git
synced 2026-01-10 16:34:15 +00:00
fix: account isinstance
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user