From 1792e3c0d8ad10b49f67fe8cfc7e9242db21186d Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:39:48 -0600 Subject: [PATCH] fix bug --- src/registrar/fixtures_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/fixtures_users.py b/src/registrar/fixtures_users.py index 8be3e13a2..1b8eda9ab 100644 --- a/src/registrar/fixtures_users.py +++ b/src/registrar/fixtures_users.py @@ -295,7 +295,7 @@ class UserFixture: 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)