tango-app-api-analysis-traffic 3.8.7-vms.11 → 3.8.7-vms.13

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-analysis-traffic",
3
- "version": "3.8.7-vms.11",
3
+ "version": "3.8.7-vms.13",
4
4
  "description": "Traffic Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -610,7 +610,7 @@ export async function tagTempId( req, res ) {
610
610
  exitTime: inputData.exitTime,
611
611
  filePath: inputData.filePath,
612
612
  status: inputData?.revopsType == 'non-tagging' ?'':'submitted',
613
- description: '',
613
+ description: inputData.comments || '',
614
614
  isChecked: inputData.isChecked,
615
615
  // Add id to each object in duplicateImage if it exists and is an array
616
616
  duplicateImage: Array.isArray( inputData?.duplicateImage ) ?
@@ -673,7 +673,7 @@ export async function tagTempId( req, res ) {
673
673
  clientId: inputData.storeId.split( '-' )[0],
674
674
  storeId: inputData.storeId,
675
675
  tempId: item.tempId,
676
- id: `${inputData?.storeId}_${inputData?.dateString}_${inputData?.tempId}`,
676
+ id: `${inputData?.storeId}_${inputData?.dateString}_${item?.tempId}`,
677
677
  dateString: inputData.dateString,
678
678
  timeRange: item.timeRange,
679
679
  isChecked: item.isChecked,