mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-29 10:21:35 +00:00
Four changes (#1471)
* Three changes Document: gam <UserTypeEntity> show vaultholds|holds hidden <Boolean> for update teamsrive Fix showHoldsForUsers * Standardize update teamdrive input of orgUnitId * One too many =
This commit is contained in:
@@ -685,8 +685,9 @@ def showHoldsForUsers(users):
|
||||
print(f'FOUND: User\'s OrgUnit is on hold in matterId {matterId} and holdId {hold["holdId"]} named "{hold["name"]}"')
|
||||
else:
|
||||
for account in hold.get('accounts', []):
|
||||
if user in account.get('email', '').lower():
|
||||
if user == account.get('email', '').lower():
|
||||
print(f'FOUND: User account is on hold in matterId {matterId} and holdId {hold["holdId"]} named "{hold["name"]}"')
|
||||
break
|
||||
|
||||
|
||||
def updateMatter(action=None):
|
||||
|
||||
Reference in New Issue
Block a user