app/config/services.php: adding sendgrid
This commit is contained in:
parent
7b9ae5c381
commit
97e00c0c28
1 changed files with 4 additions and 0 deletions
|
|
@ -219,6 +219,10 @@ $di->setShared('db', function () use ($di, $config) {
|
|||
return $db;
|
||||
});
|
||||
|
||||
$di->setShared('sendgrid', function() use ($config) {
|
||||
return new SendGrid($config->sendgrid->key);
|
||||
});
|
||||
|
||||
$di->setShared('eventsManager', function () {
|
||||
|
||||
$activityLog = new ActivityLog();
|
||||
|
|
|
|||
Reference in a new issue