tango-app-api-audit 3.4.3-alpha.12 → 3.4.3-alpha.13

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.3-alpha.12",
3
+ "version": "3.4.3-alpha.13",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3488,7 +3488,7 @@ export async function overviewTable( req, res ) {
3488
3488
  }
3489
3489
 
3490
3490
  if ( inputData.filterByStatus.length > 0 ) {
3491
- filters.push( { status: { $in: inputData.filterByStatus } } );
3491
+ [ 'uniform-detection', 'mobile-detection' ].includes( inputData.moduleType )? filters.push( { status: { $in: inputData.filterByStatus } } ):filters.push( { auditStatus: { $in: inputData.filterByStatus } } );
3492
3492
  }
3493
3493
 
3494
3494
  const query =[