Make solution complaint with spec

This commit is contained in:
meatball
2024-05-30 22:37:55 +02:00
parent 5957523624
commit 04ca64691b
2 changed files with 2 additions and 2 deletions

View File

@@ -250,7 +250,7 @@ struct Video
end
def genre_url : String?
info["genreUcid"].try &.as_s? ? "/channel/#{info["genreUcid"]}" : nil
info["genreUcid"]? == "" ? nil : "/channel/#{info["genreUcid"]}"
end
def is_vr : Bool?