From 1f435522b4c469e0a2c34dfc41da27db93db2803 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 17 Jun 2020 19:22:28 -0400 Subject: [PATCH] Fix cast from nil in short_description --- src/invidious/videos.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 277c81f4..9af45851 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -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?