fix: 修复 update_group_access 中 app 变量未赋值的问题
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:
2026-03-09 11:31:02 +08:00
parent 6c96c43bea
commit 15b2efe52a

View File

@@ -322,7 +322,7 @@ async def update_group_access(
错误处理:
- 404: 应用不存在
"""
await FileApp.get_exist_one(session, app_id)
app = await FileApp.get_exist_one(session, app_id)
# 删除旧的用户组关联
old_links_result = await session.exec(