Fix for notification language
This commit is contained in:
parent
7fd9ce903f
commit
93d9eb6636
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ class SendPushNotification extends Job implements ShouldQueue
|
|||
*/
|
||||
public function handle(PushService $pushService)
|
||||
{
|
||||
if (config('queue.default') !== 'sync') {
|
||||
$this->invoice->account->loadLocalizationSettings();
|
||||
}
|
||||
|
||||
$pushService->sendNotification($this->invoice, $this->type);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue