diff options
| author | Omar Roth <omarroth@protonmail.com> | 2020-06-17 19:22:28 -0400 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2020-06-17 19:22:28 -0400 |
| commit | 1f435522b4c469e0a2c34dfc41da27db93db2803 (patch) | |
| tree | 78c19a54376070d4fe57025192b34c2c0af6f08d | |
| parent | 83b1d80a5be263822825b55915705f1108a93f1a (diff) | |
| download | invidious-1f435522b4c469e0a2c34dfc41da27db93db2803.tar.gz invidious-1f435522b4c469e0a2c34dfc41da27db93db2803.tar.bz2 invidious-1f435522b4c469e0a2c34dfc41da27db93db2803.zip | |
Fix cast from nil in short_description
| -rw-r--r-- | src/invidious/videos.cr | 2 |
1 files changed, 1 insertions, 1 deletions
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? |
