fix: 修复 update_group_access 中 app 变量未赋值的问题
All checks were successful
Test / test (push) Successful in 2m34s
All checks were successful
Test / test (push) Successful in 2m34s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -322,7 +322,7 @@ async def update_group_access(
|
|||||||
错误处理:
|
错误处理:
|
||||||
- 404: 应用不存在
|
- 404: 应用不存在
|
||||||
"""
|
"""
|
||||||
await FileApp.get_exist_one(session, app_id)
|
app = await FileApp.get_exist_one(session, app_id)
|
||||||
|
|
||||||
# 删除旧的用户组关联
|
# 删除旧的用户组关联
|
||||||
old_links_result = await session.exec(
|
old_links_result = await session.exec(
|
||||||
|
|||||||
Reference in New Issue
Block a user