fix: initialize DOI in booking create flow with newsletter subscription

This commit is contained in:
Björn Fromme
2026-04-29 10:10:18 +02:00
parent 2f96af9254
commit daf89f9189
@@ -112,7 +112,7 @@ class Step4Controller extends AbstractBookingCreateController
if (true === $newsletterOptInSelected) { if (true === $newsletterOptInSelected) {
try { try {
$targetParticipant = $this->resolveNewsletterTargetParticipant($bookingCreateDto); $targetParticipant = $this->resolveNewsletterTargetParticipant($bookingCreateDto);
$this->doubleOptInService->requestDefaultListSubscription( $this->doubleOptInService->requestConfirmation(
$newsletterTargetEmail, $newsletterTargetEmail,
$targetParticipant?->firstName, $targetParticipant?->firstName,
$targetParticipant?->lastName, $targetParticipant?->lastName,