🐛 [Mailer] Fix mailjet scheme bug

This commit is contained in:
Thibaut Cheymol 2020-08-18 13:38:58 +02:00
parent a2d360b869
commit 6f357a67cc

View File

@ -25,7 +25,7 @@ class MailjetTransportFactory extends AbstractTransportFactory
$password = $this->getPassword($dsn);
$host = 'default' === $dsn->getHost() ? null : $dsn->getHost();
if ('maijlet+api' === $scheme) {
if ('mailjet+api' === $scheme) {
return (new MailjetApiTransport($user, $password, $this->client, $this->dispatcher, $this->logger))->setHost($host);
}