Skip to content

Commit

Permalink
Add missing param to view path job
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcusackie authored Oct 17, 2022
1 parent 732d900 commit 14d1c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/RequestUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected function processElement($el) {
if($el->hasAttribute($attr)) {

// Dispatch a new job for a post request image
$this->dispatch(url(config('statamic-cache-requester.asset_view_path')), 'post', [
$this->dispatch(url(config('statamic-cache-requester.asset_view_path')), false, 'post', [
'id' => $el->getAttribute($attr)
]);

Expand Down

0 comments on commit 14d1c21

Please sign in to comment.