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