From 1bb1a02593e85552f4ed524fa6c2086a4ed72371 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 9ece596075..8205de580f 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