Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: app copy raise error (#11108)

非法操作90d5765fb64e
diff --git a/api/controllers/console/app/app.py b/api/controllers/console/app/app.py
index 9687b59cd1d..da72b704c71 100644
--- a/api/controllers/console/app/app.py
+++ b/api/controllers/console/app/app.py
@@ -190,7 +190,7 @@ class AppCopyApi(Resource):
)
session.commit()
- stmt = select(App).where(App.id == result.app.id)
+ stmt = select(App).where(App.id == result.app_id)
app = session.scalar(stmt)
return app, 201