Cleanup logging
This commit is contained in:
parent
bc4bc1a885
commit
ccfc2f7bfc
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue