diff --git a/app/Http/Livewire/Import.php b/app/Http/Livewire/Import.php index a66ea08..a7fd6da 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); + $data = Excel::import(new UsersImport, $this->photo, 'Xlsx'); $this->photo = null; $this->importado = 'true'; // aquĆ­ se puede procesar los datos obtenidos