Change onboarding limit (#186)
This commit is contained in:
parent
deb63ab643
commit
61c0a4cdaa
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ module Api
|
|||
where("positive_reactions_count > ? OR comments_count > ?", 10, 3).limit(15).each do |article|
|
||||
@articles << article
|
||||
end
|
||||
@articles = @articles.uniq
|
||||
@articles = @articles.uniq.sample(6)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue