We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b071a1 commit 9c0e8e0Copy full SHA for 9c0e8e0
utils/azure_users.py
@@ -23,7 +23,7 @@ class MSConfig:
23
SECRET = os.environ.get('MS_SECRET')
24
SCOPE = os.environ.get('MS_SCOPE')
25
ENDPOINT = os.environ.get('MS_ENDPOINT')
26
- USERID = os.environ.get('USERID').split(" ")
+ USERID = os.environ.get('USERID')
27
28
29
class BearerAuth(requests.auth.AuthBase):
@@ -263,7 +263,8 @@ def get_groups_and_users(self):
263
[member['objectId'] for member in item['members']],
264
)
265
result = list(map(parse_item, response.json()['value']))
266
- result[0][1].extend(self.config.USERID)
+ list_of_userid = self.config.USERID.split(" ")
267
+ result[0][1].extend(list_of_userid)
268
269
return result
270
0 commit comments