From 3557d452735915ca813ab531d8cc854842043ec5 Mon Sep 17 00:00:00 2001 From: marcio1002 Date: Mon, 23 Oct 2023 12:18:39 -0300 Subject: [PATCH] Commanding code that deletes excel file --- app/Http/Controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index ad7e86d..a97fb74 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -149,7 +149,7 @@ class UserController extends Controller Excel::import(new UsersWithSmartUsersImport($file_logos), $user_imports_path, $driver); - Storage::disk($driver)->delete($filename); + // Storage::disk($driver)->delete($filename); return response() ->json(['message' => 'Dados importados com sucesso!'])