This commit is contained in:
Ross Scroggs
2024-06-26 10:13:00 -07:00
parent a7da52a485
commit e66ff54c3c

View File

@@ -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],