Fix cast from nil in short_description

This commit is contained in:
Omar Roth 2020-06-17 19:22:28 -04:00
parent 83b1d80a5b
commit 1f435522b4
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

View File

@ -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?