tango-app-api-analysis-traffic 3.8.7-vms.12 → 3.8.7-vms.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
|
@@ -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}_${
|
|
676
|
+
id: `${inputData?.storeId}_${inputData?.dateString}_${item?.tempId}`,
|
|
677
677
|
dateString: inputData.dateString,
|
|
678
678
|
timeRange: item.timeRange,
|
|
679
679
|
isChecked: item.isChecked,
|
package/src/dtos/revop.dtos.js
CHANGED
|
@@ -56,8 +56,8 @@ export const tagTempIdSchema = joi.object( {
|
|
|
56
56
|
|
|
57
57
|
const diff = today.diff( inputDate, 'day' );
|
|
58
58
|
|
|
59
|
-
if ( diff >
|
|
60
|
-
return helpers.message( 'Tagging is not allowed for a period exceeding
|
|
59
|
+
if ( diff > 3 ) {
|
|
60
|
+
return helpers.message( 'Tagging is not allowed for a period exceeding 3 days' );
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
return value;
|