mirror of https://github.com/langgenius/dify.git
fix: account isinstance
This commit is contained in:
commit
ffc551f003
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue