Skip to content

Commit

Permalink
Fixed bug in gam print vaultcounts ... everyone which caused the fo…
Browse files Browse the repository at this point in the history
…llowing error:

ERROR: getUsersToModify coding error
  • Loading branch information
taers232c committed Mar 29, 2021
1 parent 01ff6db commit 5aca33b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/GamUpdate.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
6.00.05

Fixed bug in `gam print vaultcounts ... everyone` which caused the following error:
```
ERROR: getUsersToModify coding error
```

6.00.04

Updated `<CalendarAttribute>` to allow specifying a list of email notification event types.
Expand Down
4 changes: 2 additions & 2 deletions src/gam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"""

__author__ = 'Ross Scroggs <ross.scroggs@gmail.com>'
__version__ = '6.00.04'
__version__ = '6.00.05'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'

import base64
Expand Down Expand Up @@ -28741,7 +28741,7 @@ def doPrintVaultCounts():
if search_method == 'ACCOUNT':
query_accounts = query.get('accountInfo', [])
elif search_method == 'ENTIRE_ORG':
query_accounts = getItemsToModify(Cmd.ENTITY_SELECTOR_ALL, Cmd.ENTITY_USERS)
query_accounts = getItemsToModify(Cmd.ENTITY_ALL_USERS, '')
elif search_method == 'ORG_UNIT':
query_accounts = getItemsToModify(Cmd.ENTITY_OU, query['orgUnitInfo']['orgUnitId'])
mailcounts = response.get('mailCountResult', {})
Expand Down

0 comments on commit 5aca33b

Please sign in to comment.