From 2469bcb6702bbb6b406159b08e391950c5d708a9 Mon Sep 17 00:00:00 2001 From: Iain Cambridge Date: Wed, 19 Jun 2024 20:56:58 +0000 Subject: [PATCH] [Notification] Fix postmark config Automatic commit for https://github.com/getparthenon/monorepo/commit/9fbca3748f222d63db3a76e0f60d295858aebe27 --- src/DependencyInjection/Modules/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/Modules/Notification.php b/src/DependencyInjection/Modules/Notification.php index 394f814..d286f69 100644 --- a/src/DependencyInjection/Modules/Notification.php +++ b/src/DependencyInjection/Modules/Notification.php @@ -203,7 +203,7 @@ private function configurePostmark(array $config, ContainerBuilder $container, s throw new ParameterNotSetException('When the notification.email.provider is Postmark you need to define postmark.api_key'); } - $container->setParameter('parthenon_notification_email_sendgrid_api_key', $config['notification']['email']['sendgrid']['api_key']); + $container->setParameter('parthenon_notification_email_sendgrid_api_key', $config['notification']['email']['postmark']['api_key']); $container->setAlias($senderInterface, PostmarkEmailSender::class);