tango-app-api-analysis-traffic 3.8.7-vms.10 → 3.8.7-vms.12
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
|
@@ -610,14 +610,19 @@ 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
|
-
duplicateImage: inputData?.duplicateImage?.length>0? inputData?.duplicateImage :[],
|
|
616
615
|
// Add id to each object in duplicateImage if it exists and is an array
|
|
617
616
|
duplicateImage: Array.isArray( inputData?.duplicateImage ) ?
|
|
618
617
|
inputData.duplicateImage.map( ( img ) => ( {
|
|
619
618
|
...img,
|
|
620
619
|
id: `${inputData?.storeId}_${inputData?.dateString}_${img?.tempId}`,
|
|
620
|
+
actions: [
|
|
621
|
+
{
|
|
622
|
+
actionType: 'tagging',
|
|
623
|
+
action: 'submitted',
|
|
624
|
+
},
|
|
625
|
+
],
|
|
621
626
|
} ) ) :
|
|
622
627
|
[],
|
|
623
628
|
type: 'tagging-reflect',
|