mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
fix app convert
This commit is contained in:
@ -69,6 +69,10 @@ class WorkflowConverter:
|
||||
new_app.is_demo = False
|
||||
new_app.is_public = app_model.is_public
|
||||
db.session.add(new_app)
|
||||
db.session.flush()
|
||||
db.session.commit()
|
||||
|
||||
workflow.app_id = new_app.id
|
||||
db.session.commit()
|
||||
|
||||
app_was_created.send(new_app, account=account)
|
||||
|
||||
Reference in New Issue
Block a user