1
0
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:
Hillel Coren 2017-05-29 18:54:37 +03:00
parent 7fd9ce903f
commit 93d9eb6636

View File

@ -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);
} }
} }