mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Cleanup logging
This commit is contained in:
parent
bc4bc1a885
commit
ccfc2f7bfc
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user