fix infofasjson get_user_attrs returning None #3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ Info plugin that retrieves user data from FASJSON. """
|
|||
user_agreements_data = client.list_user_agreements(username=user).result
|
||||
except Exception as e:
|
||||
self.error(f'FASJSON error: {e}')
|
||||
return
|
||||
return {}
|
||||
|
||||
# assumption that first email is the default
|
||||
user_data['email'] = user_data['emails'][0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue