From ccfc2f7bfc73873f9365489d8712f752b442f124 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 13 Nov 2022 17:27:10 +1100 Subject: [PATCH] Cleanup logging --- app/Observers/InvoiceObserver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Observers/InvoiceObserver.php b/app/Observers/InvoiceObserver.php index 8844ba53610f..249aa23866f8 100644 --- a/app/Observers/InvoiceObserver.php +++ b/app/Observers/InvoiceObserver.php @@ -45,8 +45,8 @@ class InvoiceObserver * @return void */ public function updated(Invoice $invoice) - {nlog("updated"); - $subscriptions = Webhook::where('company_id', $invoice->company_id) + { + $subscriptions = Webhook::where('company_id', $invoice->company_id) ->where('event_id', Webhook::EVENT_UPDATE_INVOICE) ->exists();