Skip to content

Commit

Permalink
Change plugin to before not after
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell authored Mar 22, 2022
1 parent 21bf162 commit f963ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/Catalog/View/Asset/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(
$this->imageHelper = $imageHelper;
}

public function afterGetUrl(LocalInterface $image)
public function beforeGetUrl(LocalInterface $image)
{
/** @var $storage Storage\Bucket */
$storage = $this->storageFactory->create();
Expand Down

0 comments on commit f963ee4

Please sign in to comment.