fix: 资产登录未发送提醒

This commit is contained in:
wangruidong
2024-02-06 11:33:04 +08:00
committed by Bryan
parent eaca296bd0
commit 2062778ab8
3 changed files with 7 additions and 6 deletions

View File

@@ -194,6 +194,7 @@ class UserPermTreeExpireUtil(_UserPermTreeCacheMixin):
@on_transaction_commit
def expire_perm_tree_for_users_orgs(self, user_ids, org_ids):
user_ids = list(user_ids)
org_ids = [str(oid) for oid in org_ids]
with self.client.pipeline() as p:
for uid in user_ids: