Fix rank_videos

pull/3/head
Omar Roth 7 years ago
parent e46ce28939
commit d6b49bc0ae

@ -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…
Cancel
Save