[API] Fix bug

This commit is contained in:
syuilo 2017-02-16 11:20:41 +09:00
parent 29e5efb9bb
commit 1bb1a02593

View File

@ -64,6 +64,8 @@ async function byNative(res, rej, me, query, offset, max) {
}, { }, {
name: new RegExp(escapedQuery) name: new RegExp(escapedQuery)
}] }]
}, {
limit: max
}); });
// Serialize // Serialize