tango-app-api-audit 3.4.12 → 3.4.14

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.12",
3
+ "version": "3.4.14",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1409,7 +1409,6 @@ export async function save( req, res ) {
1409
1409
  fileDate: inputData.fileDate,
1410
1410
  moduleType: inputData.moduleType,
1411
1411
  zoneName: inputData.zoneName,
1412
- auditType: inputData.auditType,
1413
1412
  },
1414
1413
  {
1415
1414
  status: 'not_assign',
@@ -155,8 +155,8 @@ const mapFunction = async ( chunkData, filterData ) => {
155
155
  chunkData.find( ( item ) => {
156
156
  if ( mappedId.img_name === item.temp_ids ) {
157
157
  item.temp_ids = data.img_name;
158
- mappedId.img_name === data.img_name? null: item.query_status = '';
159
- item.demographic = data.demographic || '';
158
+ ( mappedId.img_name !== data.img_name )? item.query_status = '': null;
159
+ item.demographic = data.demographic || '';
160
160
  }
161
161
  } );
162
162
  }