mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
fix indent
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = function(db, module) {
|
||||
|
||||
if (Array.isArray(data.cid) && data.cid.length) {
|
||||
data.cid = data.cid.filter(Boolean);
|
||||
if (data.cid.length > 1) {
|
||||
if (data.cid.length > 1) {
|
||||
searchQuery.cid = {$in: data.cid.map(String)};
|
||||
} else if (data.cid[0]) {
|
||||
searchQuery.cid = data.cid[0].toString();
|
||||
|
||||
Reference in New Issue
Block a user