diff --git a/src/Command/UpdatePaymentsCommand.php b/src/Command/UpdatePaymentsCommand.php index e905cf1..c2d06a8 100644 --- a/src/Command/UpdatePaymentsCommand.php +++ b/src/Command/UpdatePaymentsCommand.php @@ -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); }