mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
Fix cast from nil in short_description
This commit is contained in:
@ -706,7 +706,7 @@ struct Video
|
|||||||
end
|
end
|
||||||
|
|
||||||
def short_description
|
def short_description
|
||||||
info["shortDescription"]?.try &.as_s || ""
|
info["shortDescription"]?.try &.as_s? || ""
|
||||||
end
|
end
|
||||||
|
|
||||||
def hls_manifest_url : String?
|
def hls_manifest_url : String?
|
||||||
|
Reference in New Issue
Block a user