From 159b4f9734b37eb8600a2523e792c7e8c3d1f85b Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 21 Oct 2019 21:40:03 -0400 Subject: [PATCH] Format source --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index 53eea7bc..3af3dd7a 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -4623,7 +4623,7 @@ end if format == "html" response = JSON.parse(response) playlist_html = template_playlist(response) - index, next_video = response["videos"].as_a.skip(1).select { |video| !video["author"].as_s.empty? }[0]?.try {|v| {v["index"], v["videoId"] } } || {nil, nil} + index, next_video = response["videos"].as_a.skip(1).select { |video| !video["author"].as_s.empty? }[0]?.try { |v| {v["index"], v["videoId"]} } || {nil, nil} response = { "playlistHtml" => playlist_html,