Skip to content
Snippets Groups Projects
Commit 3d981441 authored by Ankit Pathak's avatar Ankit Pathak
Browse files

Adjusting the elvis operator for thumbnail_uri_remote condition.

parent 967b186a
No related branches found
Tags 1.0.10
No related merge requests found
Pipeline #396364 passed with warnings
......@@ -262,7 +262,7 @@ final class Asset extends MediaSourceBase {
return $this->getLocalThumbnailUri($asset_id, $version_id, $external_id);
case 'thumbnail_uri_remote':
return $asset['thumbnails']['600px']['url'] ?: $this->getRemoteThumbnailUri($external_id);
return $this->getRemoteThumbnailUri($external_id) ?: $asset['thumbnails']['600px']['url'];
case 'file':
return $this->assetFileHelper->downloadFile(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment