@tiledesk/tiledesk-server 2.10.27 → 2.10.28

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/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.10.28
9
+ - removed duplicated index on Request model
10
+
8
11
  # 2.10.27
9
12
  - updated tybot-connector to 0.2.133
10
13
  - updated vxml-connector to 0.2.65
package/models/request.js CHANGED
@@ -503,9 +503,10 @@ RequestSchema.index({ id_project: 1, preflight: 1, createdAt: -1, status: 1 });
503
503
  RequestSchema.index({ id_project: 1, preflight: 1, createdAt: 1 })
504
504
  RequestSchema.index({ participants: 1, id_project: 1, createdAt: -1, status: 1 })
505
505
  RequestSchema.index({ id_project: 1, "snapshot.lead.email": 1, createdAt: -1, status: 1 })
506
- RequestSchema.index({ id_project: 1, participants: 1, "snapshot.agents.id_user": 1, createdAt: -1, status: 1 })
507
506
  RequestSchema.index({ id_project: 1, createdAt: -1, status: 1 })
508
- RequestSchema.index({ id_project: 1, participants: 1, "snapshot.agents.id_user": 1, createdAt: -1, status: 1 })
507
+
508
+ // ERROR DURING DEPLOY OF 2.10.27
509
+ //RequestSchema.index({ id_project: 1, participants: 1, "snapshot.agents.id_user": 1, createdAt: -1, status: 1 })
509
510
 
510
511
  // cannot index parallel arrays [agents] [participants] {"driv
511
512
  // RequestSchema.index({ id_project: 1, status: 1, preflight:1, participants:1, "agents.id_user":1, updatedAt: -1 }); //NN LO APPLICA
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.10.27",
4
+ "version": "2.10.28",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",