mirror of https://github.com/langgenius/dify.git
fix: app copy raise error (#11108)
This commit is contained in:
parent
1db14793fa
commit
90d5765fb6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue