nodebb-plugin-dbsearch 6.2.12 → 6.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-dbsearch",
3
- "version": "6.2.12",
3
+ "version": "6.2.13",
4
4
  "description": "A Plugin that lets users search posts and topics",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -37,7 +37,7 @@ module.exports = {
37
37
  await db.client.collection('searchtopic').createIndex({ ts: 1 }, { });
38
38
  await db.client.collection('searchpost').createIndex({ ts: 1 }, { });
39
39
 
40
- const projection = { _id: 1, cid: 0, uid: 0, content: 0 };
40
+ const projection = { _id: 1 };
41
41
  const topics = await db.client.collection('searchtopic').find({}, { projection }).toArray();
42
42
  const posts = await db.client.collection('searchpost').find({}, { projection }).toArray();
43
43