tango-app-api-audit 3.4.4 → 3.4.5

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-audit",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2594,7 +2594,7 @@ export async function storeMetrics( req, res ) {
2594
2594
  } else {
2595
2595
  query.push( { $limit: 10000 } );
2596
2596
  }
2597
- const result = [ 'uniform-detection', 'mobile-detection' ].includes( inputData.moduleType )?await aggregateStoreEmpDetection( query ) : await aggregateBinaryAudit( query );
2597
+ const result = [ 'uniform-detection', 'mobile-detection' ].includes( inputData.moduleType )?await aggregateStoreEmpDetection( query ) : await aggregateBinaryAudit( binaryQuery );
2598
2598
  if ( inputData.isExport ) {
2599
2599
  const exportdata = [];
2600
2600
  result.forEach( ( element ) => {