From 30d00f71835d3a7c6c3f0c297100e411302013c3 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:30:29 -0500 Subject: [PATCH] u --- app/Http/Livewire/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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