mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
retain None type for user, not empty string
This commit is contained in:
@@ -5496,7 +5496,7 @@ def buildGAPIObject(api, credentials=None):
|
||||
def getSaUser(user):
|
||||
currentClientAPI = GM.Globals[GM.CURRENT_CLIENT_API]
|
||||
currentClientAPIScopes = GM.Globals[GM.CURRENT_CLIENT_API_SCOPES]
|
||||
userEmail = convertUIDtoEmailAddress(user) if user else ''
|
||||
userEmail = convertUIDtoEmailAddress(user) if user else None
|
||||
GM.Globals[GM.CURRENT_CLIENT_API] = currentClientAPI
|
||||
GM.Globals[GM.CURRENT_CLIENT_API_SCOPES] = currentClientAPIScopes
|
||||
return userEmail
|
||||
|
||||
Reference in New Issue
Block a user