Skip to content

Commit

Permalink
Fix an error when asset-indexing resized images
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Oct 29, 2022
1 parent 5bdf7ff commit 92a0b40
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 @@ -83,7 +83,7 @@ public function resize(Asset $asset, string $filename, string $path, int $width
$volume->getFs()->writeFileFromStream($filePath, $stream, []);

// Spin up asset indexer
Craft::$app->getAssetIndexer()->indexFile($volume, $filePath, 'image-resizer');
Craft::$app->getAssetIndexer()->indexFile($volume, $filePath);
}
}

Expand Down

0 comments on commit 92a0b40

Please sign in to comment.