Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zandercymatics committed Sep 3, 2024
1 parent 54e6ce2 commit 1792e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registrar/fixtures_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def load_allowed_emails(cls, users, additional_emails):
logger.warning(f"Could not add email to whitelist for {first_name} {last_name}.")

# Load additional emails
allowed_emails.extend(additional_emails)
allowed_emails.extend([AllowedEmail(email=email) for email in additional_emails])

if allowed_emails:
AllowedEmail.objects.bulk_create(allowed_emails)
Expand Down

0 comments on commit 1792e3c

Please sign in to comment.