在一个更统一的地方管理 connection 的 rollback 和丢弃

This commit is contained in:
2026-04-27 23:33:53 +08:00
parent 6b152235cf
commit 4d4bbc86dc
4 changed files with 57 additions and 78 deletions

View File

@ -77,7 +77,7 @@ async def get_permission(
perm: str,
event: Event,
):
data = await pm.check_has_permission_info(ec, perm)
data = await pm.get_permission_info(ec, perm)
obj_s = f"{ec[0].platform}.{ec[0].entity_type}.{ec[0].external_id}"