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