fix: correct HTTP codes for Bad Request

This commit is contained in:
Maël Gangloff
2025-10-07 16:33:27 +02:00
parent ea1df9d97a
commit f2c52eded1
3 changed files with 12 additions and 4 deletions

View File

@@ -41,7 +41,8 @@ final readonly class UpdateDomainsFromWatchlistHandler
private WatchListRepository $watchListRepository,
private LoggerInterface $logger,
#[Autowire(service: 'service_container')]
private ContainerInterface $locator, private DomainRepository $domainRepository,
private ContainerInterface $locator,
private DomainRepository $domainRepository,
) {
$this->sender = new Address($mailerSenderEmail, $mailerSenderName);
}