mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Fix rank_videos
This commit is contained in:
parent
e46ce28939
commit
d6b49bc0ae
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue