Browse Source

fix: app copy raise error (#11108)

tags/0.12.1
非法操作 11 months ago
parent
commit
90d5765fb6
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/controllers/console/app/app.py

+ 1
- 1
api/controllers/console/app/app.py View File

) )
session.commit() session.commit()


stmt = select(App).where(App.id == result.app.id)
stmt = select(App).where(App.id == result.app_id)
app = session.scalar(stmt) app = session.scalar(stmt)


return app, 201 return app, 201

Loading…
Cancel
Save