diff --git a/app/Observers/InvoiceObserver.php b/app/Observers/InvoiceObserver.php index 869a031036..606d37c50a 100644 --- a/app/Observers/InvoiceObserver.php +++ b/app/Observers/InvoiceObserver.php @@ -46,7 +46,7 @@ class InvoiceObserver * @return void */ public function updated(Invoice $invoice) - {nlog("updated"); + { $subscriptions = Webhook::where('company_id', $invoice->company->id) ->where('event_id', Webhook::EVENT_UPDATE_INVOICE) ->exists();