From 818e56d39ec2bbb6635657c1162146786ed4d3da Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 16 Feb 2021 21:55:48 +1100 Subject: [PATCH] Wire up settings in mailer job --- app/Jobs/Mail/NinjaMailerJob.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Jobs/Mail/NinjaMailerJob.php b/app/Jobs/Mail/NinjaMailerJob.php index 1d76befe4223..fb730138605b 100644 --- a/app/Jobs/Mail/NinjaMailerJob.php +++ b/app/Jobs/Mail/NinjaMailerJob.php @@ -47,11 +47,14 @@ class NinjaMailerJob implements ShouldQueue public $nmo; + public $settings; + public function __construct(NinjaMailerObject $nmo) { $this->nmo = $nmo; + $this->settings = $nmo->settings; } public function handle()