tango-app-api-audit 3.5.47 → 3.5.48

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.5.47",
3
+ "version": "3.5.48",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2078,7 +2078,7 @@ export async function summaryCard( req, res ) {
2078
2078
  initialValue.totalFiles =temp?.totalFiles?.value;
2079
2079
  initialValue.completedFiles =temp?.completedFiles?.doc_count;
2080
2080
  initialValue.completedRatio =Math.round( temp?.completedRatio?.value || 0 );
2081
- initialValue.tangoScore =Math.round( temp?.tangoScore?.value || 0 );
2081
+ initialValue.tangoScore =Math.round( temp?.tangoScore?.value || 0 )+ ' %';
2082
2082
  initialValue.tangoScoreTrend =temp?.tangoScoreTrend?.value || 0;
2083
2083
  initialValue.trustScore =temp?.trustScore?.avg_val?.value == null || temp?.trustScore?.avg_val?.value === undefined ? 'NA':Math.round( temp?.trustScore?.avg_val?.value );
2084
2084
  initialValue.trend = initialValue.tangoScoreTrend < 0? false : true;