tango-app-api-trax 3.3.1-hotfix-1 → 3.3.1-hotfix-2

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-trax",
3
- "version": "3.3.1-hotfix-1",
3
+ "version": "3.3.1-hotfix-2",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -736,7 +736,7 @@ export const userPerformance = async ( req, res ) => {
736
736
  _id: '$userName',
737
737
  totalChecklist: { $sum: 1 },
738
738
  userEmail: { $last: '$userEmail' },
739
- checkListCount: { $sum: '$_id' },
739
+ checkListCount: { $sum: 1 },
740
740
  timeFlag: { $sum: '$timeFlag' },
741
741
  submittedChecklist: { $sum: { $cond: [ { $eq: [ '$checklistStatus', 'submit' ] }, 1, 0 ] } },
742
742
  checkListType: { $last: '$checkListType' },