tango-app-api-analysis-traffic 3.8.7-vms.19 → 3.8.7-vms.20
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
|
@@ -651,8 +651,10 @@ export async function tagTempId( req, res ) {
|
|
|
651
651
|
ctx._source.description = params.description;
|
|
652
652
|
ctx._source.isChecked = params.isChecked;
|
|
653
653
|
ctx._source.duplicateImage = params.duplicateImage;
|
|
654
|
+
ctx._source.isParent = params.isParent;
|
|
654
655
|
ctx._source.updatedAt = params.updatedAt;
|
|
655
656
|
ctx._source.timeRange = params.timeRange;
|
|
657
|
+
ctx._source.comments = params.comments;
|
|
656
658
|
if (ctx._source.createdAt == null) {
|
|
657
659
|
ctx._source.createdAt = params.createdAt;
|
|
658
660
|
ctx._source.clientId = params.clientId;
|
|
@@ -667,9 +669,7 @@ export async function tagTempId( req, res ) {
|
|
|
667
669
|
};
|
|
668
670
|
const id = `${inputData.storeId}_${inputData.dateString}_${inputData.timeRange}_${inputData.tempId}`;
|
|
669
671
|
await upsertWithScript( openSearch.revop, id, { script, upsert: upsertRecord } );
|
|
670
|
-
logger.info( { mas: '...........1', commnets: inputData?.comments } );
|
|
671
672
|
if ( inputData?.comments && inputData?.comments !== '' ) {
|
|
672
|
-
logger.info( { mas: '...........2', commnets: inputData?.comments } );
|
|
673
673
|
const id = `${inputData.storeId}_${inputData.dateString}_${Date.now()}`;
|
|
674
674
|
const logs = {
|
|
675
675
|
type: 'tagging',
|