From e66ff54c3cd38d2b42c748914b4d16cffa0053da Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 26 Jun 2024 10:13:00 -0700 Subject: [PATCH] Cleanup --- src/gam/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gam/__init__.py b/src/gam/__init__.py index d99b76ee..86299858 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -5624,7 +5624,7 @@ def getGroupEmailFromID(uid, cd): def getServiceAccountEmailFromID(account_id, sal=None): if sal is None: - sal = buildGAPIObject('serviceaccountlookup') + sal = buildGAPIObject(API.SERVICEACCOUNTLOOKUP) try: certs = callGAPI(sal.serviceaccounts(), 'lookup', throwReasons = [GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.INVALID_ARGUMENT],