tango-app-api-client 3.1.1 → 3.1.3

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-client",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "client",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -25,8 +25,8 @@
25
25
  "mongodb": "^6.3.0",
26
26
  "nodemon": "^3.0.3",
27
27
  "swagger-ui-express": "^5.0.0",
28
- "tango-api-schema": "^2.0.89",
29
- "tango-app-api-middleware": "^3.1.1",
28
+ "tango-api-schema": "^2.0.90",
29
+ "tango-app-api-middleware": "^3.1.3",
30
30
  "winston": "^3.11.0",
31
31
  "winston-daily-rotate-file": "^5.0.0"
32
32
  },
@@ -1258,7 +1258,7 @@ export async function detailedClientCount( req, res ) {
1258
1258
  role: req?.user?.role,
1259
1259
  };
1260
1260
  result['totalStoreCount'] = await countDocumentsStore( { clientId: inputData.clientId } );
1261
- result['totalGroupCount'] = await countDocumentsGroup( { clientId: inputData.clientId } );
1261
+ result['totalGroupCount'] = await countDocumentsGroup( { clientId: inputData.clientId, isActive: true } );
1262
1262
  result['totalCameraCount'] = await countDocumentsCamera( { clientId: inputData.clientId } );
1263
1263
  result['totalUserCount'] = await countDocumentsUser( { clientId: inputData.clientId, userType: 'client' } );
1264
1264