Merge pull request #5523 from turbo124/v5-develop

Fix for typo in company object
This commit is contained in:
David Bomba 2021-04-25 08:33:41 +10:00 committed by GitHub
commit 9560816102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ class NinjaMailerJob implements ShouldQueue
Mail::to($this->nmo->to_user->email)
->send($this->nmo->mailable);
LightLogs::create(new EmailSuccess($this->nmo->company_key->company_key))
LightLogs::create(new EmailSuccess($this->nmo->company->company_key))
->batch();
} catch (\Exception $e) {