tango-app-api-audit 3.4.68-beta.20 → 3.4.68-beta.21

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.68-beta.20",
3
+ "version": "3.4.68-beta.21",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -348,7 +348,7 @@ export async function viewFile( req, res ) {
348
348
  const searchData = temp?
349
349
  getData['lastAuditedDetails']= {
350
350
  'auditedBy': getUserName?.userName || '',
351
- 'completionTime': temp?._source?.startTime? dayjs.utc( temp?._source?.startTime ).tz( 'Asia/Kolkata' ).format( 'HH:mm:ss' ): '',
351
+ 'completionTime': temp?._source?.endTime? dayjs.utc( temp?._source?.endTime ).tz( 'Asia/Kolkata' ).format( 'HH:mm:ss' ): '',
352
352
  'timeZone': temp?.timeZone || '',
353
353
  } : null;
354
354
  getData['complianceScore'] = getData.complianceScore || getData?.totalSteps>0 ? Math.round( ( getData?.coveredStepsAI/ getData?.totalSteps )*100 ): 0;