Remove unecessary if condition in videos.cr

This commit is contained in:
src-tinkerer 2023-11-25 00:48:27 +03:30
parent 6251d8d43f
commit 5f2b43d653

View File

@ -152,9 +152,7 @@ module Invidious::Channel::Tabs
# -------------------
def get_livestreams(channel : AboutChannel, continuation : String? = nil, sort_by = "newest")
if continuation.nil?
continuation ||= make_initial_content_ctoken(channel.ucid, "livestreams", sort_by)
end
initial_data = YoutubeAPI.browse(continuation: continuation)