Skip to content

Commit

Permalink
fixed wrong argument for Thumbnail::getPath()
Browse files Browse the repository at this point in the history
  • Loading branch information
Corepex committed Mar 28, 2023
1 parent 01b8f3d commit 1f94246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/Query/Operator/Thumbnail.php
Expand Up @@ -64,7 +64,7 @@ public function getLabeledValue($element, ResolveInfo $resolveInfo = null)
if ($childResult->value instanceof Asset\Image || $childResult->value instanceof Asset\Video) {
$childValue = $result->value = $childResult->value;
$thumbnail = $childValue->getThumbnail($this->thumbnailConfig, false);
$result->value = $thumbnail->getPath(false);
$result->value = $thumbnail->getPath(['deferredAllowed' => false]);
}
}

Expand Down

0 comments on commit 1f94246

Please sign in to comment.