tango-app-api-audit 3.6.16 → 3.6.17

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.6.16",
3
+ "version": "3.6.17",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2354,7 +2354,7 @@ export async function summaryCard( req, res ) {
2354
2354
  initialValue.completedFiles =temp?.completedFiles?.doc_count;
2355
2355
  initialValue.completedRatio =Math.round( temp?.completedRatio?.value || 0 );
2356
2356
  initialValue.tangoScore =Math.round( temp?.tangoScore?.value || 0 )+ ' %';
2357
- initialValue.humanScore =Math.round( temp?.humanScore?.value || 0 )+ ' %';
2357
+ initialValue.humanScore =Math.round( temp?.humanScore?.scoreValue?.value || 0 )+ ' %';
2358
2358
  initialValue.tangoScoreTrend =temp?.tangoScoreTrend?.value || 0;
2359
2359
  initialValue.trustScore =temp?.trustScore?.avg_val?.value == null || temp?.trustScore?.avg_val?.value === undefined ? 'NA':Math.round( temp?.trustScore?.avg_val?.value );
2360
2360
  initialValue.trend = initialValue.tangoScoreTrend < 0? false : true;