mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-16 20:21:37 +00:00
Cleanup
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user