Update key image checker

This commit is contained in:
2024-06-08 09:05:04 +10:00
parent 4cd6c11d5a
commit c265c05daa
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ module Admin
def key_image
if photos?
return photos.first["url"]
return photos.first["value"]
end
inline_images.first[1] if inline_images

View File

@@ -42,7 +42,7 @@ module Main
def key_image
if photos?
return photos.first["url"]
return photos.first["value"]
end
if videos?