From 98823504bad6231f397ca08cb7e0372ba7c94cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Carodej?= Date: Wed, 3 Nov 2021 17:24:30 +0100 Subject: [PATCH] Generate thumbnails for demo data fix --- src/App/Console/Commands/SetupDevEnvironment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Console/Commands/SetupDevEnvironment.php b/src/App/Console/Commands/SetupDevEnvironment.php index 8e451bca..5b2984a7 100644 --- a/src/App/Console/Commands/SetupDevEnvironment.php +++ b/src/App/Console/Commands/SetupDevEnvironment.php @@ -1158,7 +1158,7 @@ class SetupDevEnvironment extends Command }); // Store original to disk - Storage::put("files/$user->id/{$file_name}", $intervention); + Storage::putFileAs("files/$user->id", storage_path($file), $file_name, 'private'); return [ 'basename' => $file_name,