[API] Fix bug

This commit is contained in:
syuilo 2017-02-16 11:20:41 +09:00
parent b624dce0e2
commit 560aa90054

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