diff --git a/app/Http/Livewire/Import.php b/app/Http/Livewire/Import.php index a7fd6da..a66ea08 100644 --- a/app/Http/Livewire/Import.php +++ b/app/Http/Livewire/Import.php @@ -22,7 +22,7 @@ class Import extends Component public function import() { - $data = Excel::import(new UsersImport, $this->photo, 'Xlsx'); + $data = Excel::import(new UsersImport, $this->photo); $this->photo = null; $this->importado = 'true'; // aquĆ­ se puede procesar los datos obtenidos