mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-01 20:26:28 +00:00
Make solution complaint with spec
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user