diff --git a/app/Jobs/SendPushNotification.php b/app/Jobs/SendPushNotification.php index 73acd9299142..a0edcddd64a3 100644 --- a/app/Jobs/SendPushNotification.php +++ b/app/Jobs/SendPushNotification.php @@ -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); } }