Skip to content
Snippets Groups Projects
Unverified Commit 1e72835e authored by vanutp's avatar vanutp
Browse files

Зачем лимит 20 два раза? загадка

parent d60b7705
Branches
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ module.exports = async (ctx) => {
},
{ $sort: { 'rate.score': -1 } },
{ $limit: 20 }
]).limit(20)
])
dbSearchResults.forEach((result) => {
results.push({
type: 'sticker',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment