Skip to content

Commit

Permalink
Merge branch 'hotfix/24.11.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Dec 11, 2024
2 parents d68a07b + 6dce520 commit 9892ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/notifications/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def get_user_subscriptions(user, event):
if user_subscription:
return {key: list(getattr(user_subscription, key).all().values_list('guids___id', flat=True)) for key in constants.NOTIFICATION_TYPES}
else:
return {key: [] for key in constants.NOTIFICATION_TYPES}
return {key: [user._id] if (event in constants.USER_SUBSCRIPTIONS_AVAILABLE and key == 'email_transactional') else [] for key in constants.NOTIFICATION_TYPES}


def get_node_lineage(node):
Expand Down

0 comments on commit 9892ad5

Please sign in to comment.