tango-app-api-infra 3.1.19 → 3.1.20

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": "tango-app-api-infra",
3
- "version": "3.1.19",
3
+ "version": "3.1.20",
4
4
  "description": "infra",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "nodemon": "^3.1.0",
28
28
  "swagger-ui-express": "^5.0.0",
29
29
  "tango-api-schema": "^2.0.115",
30
- "tango-app-api-middleware": "^3.1.19",
30
+ "tango-app-api-middleware": "^3.1.26",
31
31
  "winston": "^3.12.0",
32
32
  "winston-daily-rotate-file": "^5.0.0"
33
33
  },
@@ -802,11 +802,11 @@ export async function pendingTicket( req, res ) {
802
802
  ],
803
803
  },
804
804
  datamismatchCount: {
805
- $cond: [ { $and: [ { $or: [ { $eq: [ '$issueType', 'highcount' ] }, { $eq: [ '$issueType', 'lowcount' ] } ] }, { $eq: [ '$status', 'closed' ] } ] }, 1, 0,
805
+ $cond: [ { $and: [ { $or: [ { $eq: [ '$issueType', 'highcount' ] }, { $eq: [ '$issueType', 'lowcount' ] } ] }, { $ne: [ '$status', 'closed' ] } ] }, 1, 0,
806
806
  ],
807
807
  },
808
808
  matCount: {
809
- $cond: [ { $and: [ { $eq: [ '$issueType', 'mat' ] }, { $eq: [ '$status', 'open' ] } ] }, 1, 0,
809
+ $cond: [ { $and: [ { $eq: [ '$issueType', 'mat' ] }, { $ne: [ '$status', 'closed' ] } ] }, 1, 0,
810
810
  ],
811
811
  },
812
812
  },