mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Cleanup
This commit is contained in:
@@ -5624,7 +5624,7 @@ def getGroupEmailFromID(uid, cd):
|
|||||||
|
|
||||||
def getServiceAccountEmailFromID(account_id, sal=None):
|
def getServiceAccountEmailFromID(account_id, sal=None):
|
||||||
if sal is None:
|
if sal is None:
|
||||||
sal = buildGAPIObject('serviceaccountlookup')
|
sal = buildGAPIObject(API.SERVICEACCOUNTLOOKUP)
|
||||||
try:
|
try:
|
||||||
certs = callGAPI(sal.serviceaccounts(), 'lookup',
|
certs = callGAPI(sal.serviceaccounts(), 'lookup',
|
||||||
throwReasons = [GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.INVALID_ARGUMENT],
|
throwReasons = [GAPI.BAD_REQUEST, GAPI.RESOURCE_NOT_FOUND, GAPI.INVALID_ARGUMENT],
|
||||||
|
|||||||
Reference in New Issue
Block a user