tango-app-api-infra 3.8.1-beta.40 → 3.8.1-beta.41
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
|
@@ -2727,12 +2727,11 @@ export async function dataMismatchTable( req, res ) {
|
|
|
2727
2727
|
}
|
|
2728
2728
|
|
|
2729
2729
|
if ( req.body.clusterStores&&req.body.clusterStores.length>0 ) {
|
|
2730
|
-
|
|
2730
|
+
countFilter.push(
|
|
2731
2731
|
{
|
|
2732
|
-
$
|
|
2733
|
-
'basicDetails.storeId': { $in: req.body.clusterStores },
|
|
2734
|
-
},
|
|
2732
|
+
'basicDetails.storeId': { $in: req.body.clusterStores },
|
|
2735
2733
|
},
|
|
2734
|
+
|
|
2736
2735
|
);
|
|
2737
2736
|
}
|
|
2738
2737
|
if ( req.user.userType === 'client' ) {
|
|
@@ -2804,6 +2803,14 @@ export async function dataMismatchTable( req, res ) {
|
|
|
2804
2803
|
{ 'basicDetails.storeId': { $in: req.body.assignedStores } },
|
|
2805
2804
|
);
|
|
2806
2805
|
}
|
|
2806
|
+
if ( req.body.clusterStores&&req.body.clusterStores.length>0 ) {
|
|
2807
|
+
filter.push(
|
|
2808
|
+
{
|
|
2809
|
+
'basicDetails.storeId': { $in: req.body.clusterStores },
|
|
2810
|
+
},
|
|
2811
|
+
|
|
2812
|
+
);
|
|
2813
|
+
}
|
|
2807
2814
|
if ( req.user.userType === 'client' ) {
|
|
2808
2815
|
filter.push( { 'dataMismatch.showToClient': true } );
|
|
2809
2816
|
}
|