From 560aa900540a444e61920bb32e7d2577fa844790 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 16 Feb 2017 11:20:41 +0900 Subject: [PATCH] [API] Fix bug --- src/api/endpoints/users/search.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/endpoints/users/search.js b/src/api/endpoints/users/search.js index 9ece59607..8205de580 100644 --- a/src/api/endpoints/users/search.js +++ b/src/api/endpoints/users/search.js @@ -64,6 +64,8 @@ async function byNative(res, rej, me, query, offset, max) { }, { name: new RegExp(escapedQuery) }] + }, { + limit: max }); // Serialize