mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-25 12:52:49 +00:00
Remove unecessary if condition in videos.cr
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user