Skip to content

Commit

Permalink
Remove request for extra fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnland committed Jun 9, 2022
1 parent f5e4e1c commit 9dbe02a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ckanext/harvest/logic/action/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,7 @@ def harvest_get_notifications_recipients(context, data_dict):
# Get access to email address by running action as admin user
context['user'] = p.toolkit.get_action('get_site_user')({'ignore_auth': True})['name']
for member in members:
member_details = p.toolkit.get_action('user_show')(context, {
'id': member[0],
'include_plugin_extras': True
})
member_details = p.toolkit.get_action('user_show')(context, {'id': member[0]})

email_address = member_details.get('email', None)
if email_address and email_address.strip():
Expand Down

0 comments on commit 9dbe02a

Please sign in to comment.