Skip to content

Commit

Permalink
fixed missing mail settings in command
Browse files Browse the repository at this point in the history
  • Loading branch information
Lung committed Jan 28, 2025
1 parent 03a7ae8 commit a03d5cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Command/UpdatePaymentsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ public function execute(InputInterface $input, OutputInterface $output): int

foreach ($events as $event) {
$this->mailerSettings->setEvent($event);
$this->mailerSettings->setFullUrlLink(
// ugly hack, but it is complicated to get RouterCollector in command
sprintf("https://kissj.net/%s", $event->slug), // production address
);
$this->paymentService->updatePayments($event);
}

Expand Down

0 comments on commit a03d5cb

Please sign in to comment.