Skip to content

Commit 5b6c391

Browse files
committed
Use list instead of set as addressees
1 parent 1d152f2 commit 5b6c391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flash_update/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def share_flash_update(flash_update_share_id):
3333
groups__in=instance.donor_groups.all()
3434
).values_list('email', flat=True)
3535

36-
users_emails = set([*donors_emails, *donor_groups_emails])
36+
users_emails = list(set([*donors_emails, *donor_groups_emails]))
3737
send_notification(
3838
f'Flash Update: {flash_update.title}',
3939
users_emails,

0 commit comments

Comments
 (0)