Remove unecessary if condition in videos.cr
This commit is contained in:
parent
6251d8d43f
commit
5f2b43d653
|
@ -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
|
||||
continuation ||= make_initial_content_ctoken(channel.ucid, "livestreams", sort_by)
|
||||
|
||||
initial_data = YoutubeAPI.browse(continuation: continuation)
|
||||
|
||||
|
|
Loading…
Reference in New Issue