Skip to content

Commit

Permalink
Fix an issue when using with Servd Assets
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Aug 17, 2023
1 parent 4242bef commit e2bec37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Resize.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function resize(Asset $asset, string $filename, string $path, int $width

// Check to see if this path exists. For some remote filesystems, the file may not be locally cached
if (!file_exists($path)) {
AssetsHelper::downloadFile($volume, $filename, $path);
$volume->saveFileLocally($filename, $path);
}

try {
Expand Down

0 comments on commit e2bec37

Please sign in to comment.