diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 1c38bfe9..eec57b48 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,10 @@ +7.19.03 + +Fixed bug where specifying a `` as `id:1234567890` could lead to errors like this: +``` +ERROR: 400: invalidArgument - Resource name has invalid email. +``` + 7.19.02 Update `gam info user ` to eliminate 5 second delay when getting license info. diff --git a/src/gam/__init__.py b/src/gam/__init__.py index b122a901..36cd4941 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki """ __author__ = 'GAM Team ' -__version__ = '7.19.02' +__version__ = '7.19.03' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' #pylint: disable=wrong-import-position @@ -5807,7 +5807,7 @@ def convertUIDtoEmailAddress(emailAddressOrUID, cd=None, emailTypes=None, normalizedEmailAddressOrUID = normalizeEmailAddressOrUID(emailAddressOrUID, ciGroupsAPI=ciGroupsAPI) if normalizedEmailAddressOrUID.startswith(NON_EMAIL_MEMBER_PREFIXES): return normalizedEmailAddressOrUID - email, _ = convertUIDtoEmailAddressWithType(emailAddressOrUID, cd, emailTypes, + email, _ = convertUIDtoEmailAddressWithType(emailAddressOrUID, cd, None, emailTypes, checkForCustomerId, ciGroupsAPI, aliasAllowed) return email