mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Fix for notification language
This commit is contained in:
parent
7fd9ce903f
commit
93d9eb6636
@ -50,6 +50,10 @@ class SendPushNotification extends Job implements ShouldQueue
|
|||||||
*/
|
*/
|
||||||
public function handle(PushService $pushService)
|
public function handle(PushService $pushService)
|
||||||
{
|
{
|
||||||
|
if (config('queue.default') !== 'sync') {
|
||||||
|
$this->invoice->account->loadLocalizationSettings();
|
||||||
|
}
|
||||||
|
|
||||||
$pushService->sendNotification($this->invoice, $this->type);
|
$pushService->sendNotification($this->invoice, $this->type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user