Skip to content

Commit

Permalink
Merge pull request #3 from skecskes/patch-1
Browse files Browse the repository at this point in the history
fix invalid credentials error
  • Loading branch information
christian-thomas committed Oct 28, 2015
2 parents ebebce0 + 9f5d135 commit 211afc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LaravelDotmailerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -60,4 +60,4 @@ private function registerConfig()
$this->publishes([$configPath => config_path('dotmailer.php')], 'dotmailer');
$this->mergeConfigFrom($configPath, 'dotmailer');
}
}
}

0 comments on commit 211afc1

Please sign in to comment.