From 9f5d1355caf57c0daff100d28c0597190bafc6f9 Mon Sep 17 00:00:00 2001 From: Stefan Kecskes Date: Tue, 27 Oct 2015 14:54:42 +0000 Subject: [PATCH] fix invalid credentials error --- src/LaravelDotmailerServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaravelDotmailerServiceProvider.php b/src/LaravelDotmailerServiceProvider.php index 3b41bf5..9069135 100644 --- a/src/LaravelDotmailerServiceProvider.php +++ b/src/LaravelDotmailerServiceProvider.php @@ -28,7 +28,7 @@ public function boot() */ public function register() { - $config = $this->app->config->get('dotmailer.config'); + $config = $this->app->config->get('dotmailer'); $credentials = [ Container::USERNAME => $config['username'], @@ -60,4 +60,4 @@ private function registerConfig() $this->publishes([$configPath => config_path('dotmailer.php')], 'dotmailer'); $this->mergeConfigFrom($configPath, 'dotmailer'); } -} \ No newline at end of file +}