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 +}