Explorar o código

refactor(asaas): stop creating unit subaccounts on unit creation

ebagabee hai 1 mes
pai
achega
c5580a7f36
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      app/Services/UnitService.php

+ 0 - 3
app/Services/UnitService.php

@@ -73,9 +73,6 @@ public function create(array $data): Unit
 
         $this->replicatePackagesToUnit($unit->id);
 
-        // Dispatch Asaas Subaccount creation asynchronously
-        \App\Jobs\CreateAsaasSubaccountJob::dispatch($unit->id);
-
         return $unit;
     }