tango-app-api-audit 3.4.11-alpha.1 → 3.4.11-alpha.2

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.11-alpha.1",
3
+ "version": "3.4.11-alpha.2",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -527,7 +527,7 @@ export async function getAuditFile( req, res ) {
527
527
  img_name: indexes[1],
528
528
  img_id: image[0],
529
529
  selected: false,
530
- demographic: 'a',
530
+ demographic: '',
531
531
  dropped: false,
532
532
  count: 1,
533
533
  mappedid: [ mapimg ],
@@ -716,7 +716,6 @@ export async function getAuditImage( msg ) {
716
716
  img_name: indexes[1],
717
717
  img_id: image[0],
718
718
  selected: false,
719
- demographic: 'a',
720
719
  dropped: false,
721
720
  count: 1,
722
721
  mappedid: [ mapimg ],
@@ -154,6 +154,7 @@ const mapFunction = async ( chunkData, filterData ) => {
154
154
  if ( mappedId.img_name === item.temp_ids ) {
155
155
  item.temp_ids = data.img_name;
156
156
  item.query_status = '';
157
+ item.demographic = data.demographic || '';
157
158
  }
158
159
  } );
159
160
  }