修复修改更新应用
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user