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
|
@@ -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?.
|
|
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;
|