mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
fix bug
This commit is contained in:
parent
54e6ce21db
commit
1792e3c0d8
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ class UserFixture:
|
||||||
logger.warning(f"Could not add email to whitelist for {first_name} {last_name}.")
|
logger.warning(f"Could not add email to whitelist for {first_name} {last_name}.")
|
||||||
|
|
||||||
# Load additional emails
|
# Load additional emails
|
||||||
allowed_emails.extend(additional_emails)
|
allowed_emails.extend([AllowedEmail(email=email) for email in additional_emails])
|
||||||
|
|
||||||
if allowed_emails:
|
if allowed_emails:
|
||||||
AllowedEmail.objects.bulk_create(allowed_emails)
|
AllowedEmail.objects.bulk_create(allowed_emails)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue