mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix cast from nil in short_description
This commit is contained in:
parent
83b1d80a5b
commit
1f435522b4
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ struct Video
|
|||
end
|
||||
|
||||
def short_description
|
||||
info["shortDescription"]?.try &.as_s || ""
|
||||
info["shortDescription"]?.try &.as_s? || ""
|
||||
end
|
||||
|
||||
def hls_manifest_url : String?
|
||||
|
|
Loading…
Reference in a new issue