|
@@ -17,8 +17,8 @@ |
|
|
block discarded – undo |
|
17
|
17
|
*/ |
|
18
|
18
|
public function register() |
|
19
|
19
|
{ |
|
20
|
|
- $this->app->afterResolving(MailManager::class, function (MailManager $mail_manager) { |
|
21
|
|
- $mail_manager->extend("sendgrid", function ($config) { |
|
|
20
|
+ $this->app->afterResolving(MailManager::class, function(MailManager $mail_manager) { |
|
|
21
|
+ $mail_manager->extend("sendgrid", function($config) { |
|
22
|
22
|
$client = new HttpClient(Arr::get($config, 'guzzle', [])); |
|
23
|
23
|
$endpoint = isset($config['endpoint']) ? $config['endpoint'] : null; |
|
24
|
24
|
|
Please login to merge, or discard this patch.