Skip to content

Commit 4fec940

Browse files
committed
Fixing compatible file store path
1 parent 26bf8e0 commit 4fec940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Actions/StoreModelUploadFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function handle(Authenticatable $user, UploadedFile $uploadedFile, string
2727
'model_type' => $modelType,
2828
'file_name' => $uploadedFile->getClientOriginalName(),
2929
'storage_disk' => \config('filesystems.default'),
30-
'file_path' => $uploadedFile->store(),
30+
'file_path' => $uploadedFile->store('model-upload'),
3131
'state' => UploadFileState::upload,
3232
]);
3333

0 commit comments

Comments
 (0)