修复修改更新应用

This commit is contained in:
18610128193
2026-06-10 14:44:09 +08:00
parent de494060ad
commit 3ba97e1f3f
2 changed files with 11 additions and 7 deletions
@@ -76,6 +76,8 @@ async def create_user_oauth_app(
)
db.add(app)
await db.flush()
await db.commit()
await db.refresh(app)
return app
@@ -101,6 +103,8 @@ async def update_user_oauth_app(
app.create_by = create_by
await db.flush()
await db.commit()
await db.refresh(app)
return app