Fixes for postmark bindings

This commit is contained in:
David Bomba 2021-06-17 14:34:01 +10:00
parent ec9a49a04c
commit cdd074f000

View File

@ -14,12 +14,12 @@ class MailServiceProvider extends MailProvider
public function register() public function register()
{ {
$this->registerIlluminateMailer();
} }
public function boot() public function boot()
{ {
$this->registerIlluminateMailer();
} }
protected function registerIlluminateMailer() protected function registerIlluminateMailer()
@ -33,7 +33,7 @@ class MailServiceProvider extends MailProvider
}); });
$this->app['mail.manager']->extend('postmark', function () { $this->app['mail.manager']->extend('postmark', function () {
return new PostmarkTransport( return new PostmarkTransport(
$this->guzzle(config('postmark.guzzle', [])), $this->guzzle(config('postmark.guzzle', [])),
config('postmark.secret') config('postmark.secret')