[API] Fix bug

This commit is contained in:
syuilo 2017-02-16 11:20:41 +09:00
parent 29e5efb9bb
commit 1bb1a02593
1 changed files with 2 additions and 0 deletions

View File

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