8000 Fix appending Session Token to configuration · symfony/symfony@93eb5e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93eb5e0

Browse files
committed
Fix appending Session Token to configuration
1 parent d6a36b4 commit 93eb5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesTransportFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function create(Dsn $dsn): TransportInterface
5353
] + (
5454
'default' === $dsn->getHost() ? [] : ['endpoint' => 'https://'.$dsn->getHost().($dsn->getPort() ? ':'.$dsn->getPort() : '')]
5555
) + (
56-
null !== $dsn->getOption('session_token') ? [] : ['sessionToken' => $dsn->getOption('session_token')]
56+
null === $dsn->getOption('session_token') ? [] : ['sessionToken' => $dsn->getOption('session_token')]
5757
);
5858

5959
return new $class(new SesClient(Configuration::create($options), null, $this->client, $this->logger), $this->dispatcher, $this->logger);

0 commit comments

Comments
 (0)
0