Sfoglia il codice sorgente

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

ebagabee 1 mese fa
parent
commit
c5580a7f36
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  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;
     }