Skip to content

Commit 90d5765

Browse files
authored
fix: app copy raise error (langgenius#11108)
1 parent 1db1479 commit 90d5765

File tree

1 file changed

+1
-1
lines changed
  • api/controllers/console/app

1 file changed

+1
-1
lines changed

api/controllers/console/app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def post(self, app_model):
190190
)
191191
session.commit()
192192

193-
stmt = select(App).where(App.id == result.app.id)
193+
stmt = select(App).where(App.id == result.app_id)
194194
app = session.scalar(stmt)
195195

196196
return app, 201

0 commit comments

Comments
 (0)