forked from midou/invidious
Remove unecessary if condition in videos.cr
This commit is contained in:
1 parent
6251d8d43f
commit
5f2b43d653
1 file changed
+1
-3
@@ -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