fix: Fix admin notification email on new registration
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

send_email() expects to=[list], not to_email=string.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-02-18 13:12:17 +01:00
parent 29ce843849
commit 79de5521f3

View File

@ -72,9 +72,10 @@ Czlonek NORDA: {is_member}
"""
send_email(
to_email=notify_email,
to=[notify_email],
subject=subject,
body_text=body_text
body_text=body_text,
email_type='registration_notification'
)
logger.info(f"Registration notification sent for {user_info.get('email')}")
except Exception as e: