tango-app-api-audit 1.0.64 → 1.0.65

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": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1327,7 +1327,7 @@ export async function save( req, res ) {
1327
1327
  );
1328
1328
 
1329
1329
  let clientData = await findClient( { clientId: storeConfig.clientId } );
1330
- const ratio = ( ( storeAuditData.beforeCount - inputData.customerCount ) / storeAuditData.beforeCount ) * 100;
1330
+ const ratio = ( ( storeAuditData.beforeCount - inputData.customerCount ) / storeAuditData.beforeCount );
1331
1331
  if ( ratio < storeConfig.auditConfigs.ratio &&
1332
1332
  inputData.auditType == 'Audit' &&
1333
1333
  inputData.moduleType == 'traffic'