mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-26 08:42:08 +05:30
Fix cast from nil in short_description
This commit is contained in:
parent
83b1d80a5b
commit
1f435522b4
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user