mirror of
https://github.com/iv-org/invidious.git
synced 2025-06-12 05:07:43 +02:00
Fix rank_videos
This commit is contained in:
@ -249,7 +249,7 @@ def rank_videos(db, n)
|
||||
top = top.map { |a, b| b }
|
||||
|
||||
# Return top
|
||||
return top[1..n]
|
||||
return top[0..n - 1]
|
||||
end
|
||||
|
||||
def make_client(url, context)
|
||||
|
Reference in New Issue
Block a user