From 6aa60b63b5bb8cced04674a4b301fd3f0a069678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 16 Mar 2021 22:59:58 -0400 Subject: [PATCH] fix: category search not using uid --- src/socket.io/categories/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/socket.io/categories/search.js b/src/socket.io/categories/search.js index c7b8a276ab..1cf2ffc29f 100644 --- a/src/socket.io/categories/search.js +++ b/src/socket.io/categories/search.js @@ -45,6 +45,7 @@ module.exports = function (SocketCategories) { async function findMatchedCids(uid, data) { const result = await categories.search({ + uid: uid, query: data.query, paginate: false, });