diff --git a/app/config/services.php b/app/config/services.php index 85a2866..1b91fe5 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -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();