Skip to content

Commit

Permalink
fix usage without uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
tobimori authored Apr 12, 2024
1 parent 7eee10b commit c625282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ThumbHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,6 @@ private static function getId(Asset|File $file): string
return $file->mediaHash();
}

return $file->uuid()->id() ?? $file->id();
return $file->uuid()?->id() ?? $file->id();
}
}

0 comments on commit c625282

Please sign in to comment.