tango-app-api-audit 3.6.7 → 3.6.8

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.7",
3
+ "version": "3.6.8",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2031,7 +2031,7 @@ export async function summaryList( req, res ) {
2031
2031
  temp[i].sec = seconds;
2032
2032
  temp[i].auditedBy = userName?.userName || '';
2033
2033
  temp[i].date = dayjs( item?._source?.date ).format( 'D MMM, YYYY' );
2034
- temp[i].auditedDate = [ 'Re-Audited', 'Audited' ].includes( element?._source?.auditStatus )?dayjs( element?._source?.updatedAt ).format( 'D MMM, YYYY' ): 'NA';
2034
+ temp[i].auditedDate = [ 'Re-Audited', 'Audited' ].includes( item?._source?.auditStatus )?dayjs( item?._source?.updatedAt ).format( 'D MMM, YYYY' ): 'NA';
2035
2035
  temp[i].RMName = RMName;
2036
2036
  temp[i].clusterName =clusterName;
2037
2037
  temp[i].RMEmail =RMEmail;