tango-app-api-client 3.3.2-beta.5 → 3.3.2-beta.6

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.3.2-beta.5",
3
+ "version": "3.3.2-beta.6",
4
4
  "description": "client",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -672,7 +672,7 @@ export async function detailedAllClientCount( req, res ) {
672
672
  if ( result.length == 0 ) {
673
673
  return res.sendError( 'No Data Found', 204 );
674
674
  }
675
- result[0].activeStoresCount = activeStores.length>0?( activeStores.length - yettoInstallCount.length ):0;
675
+ result[0].activeStoresCount = activeStores.length>0?Math.abs( activeStores.length - yettoInstallCount.length ):0;
676
676
  result[0].activeCameraCount = activeCameras;
677
677
  return res.sendSuccess( { result: result } );
678
678
  } catch ( error ) {