Pārlūkot izejas kodu

fix: 🚑️ Remove queueable from Eventhandler to fix execution

IceToast 2 gadi atpakaļ
vecāks
revīzija
5289567773
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1 3
      app/Listeners/CreateInvoice.php

+ 1 - 3
app/Listeners/CreateInvoice.php

@@ -4,10 +4,8 @@ namespace App\Listeners;
 
 use App\Events\PaymentEvent;
 use App\Traits\Invoiceable;
-use Illuminate\Contracts\Queue\ShouldQueue;
-use Illuminate\Queue\InteractsWithQueue;
 
-class CreateInvoice implements ShouldQueue
+class CreateInvoice
 {
 
     use Invoiceable;