Jelajahi Sumber

fix: 🚑️ Remove queueable from Eventhandler to fix execution

IceToast 2 tahun lalu
induk
melakukan
5289567773
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  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;