Skip to content

Commit

Permalink
Merge pull request #12 from atfromhome/fixing-compatible
Browse files Browse the repository at this point in the history
Fixing compatible file `store` path
  • Loading branch information
nuradiyana committed Jan 16, 2024
2 parents 26bf8e0 + 4fec940 commit 42140db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/StoreModelUploadFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function handle(Authenticatable $user, UploadedFile $uploadedFile, string
'model_type' => $modelType,
'file_name' => $uploadedFile->getClientOriginalName(),
'storage_disk' => \config('filesystems.default'),
'file_path' => $uploadedFile->store(),
'file_path' => $uploadedFile->store('model-upload'),
'state' => UploadFileState::upload,
]);

Expand Down

0 comments on commit 42140db

Please sign in to comment.