tango-app-api-store-builder 1.0.0-beta-171 → 1.0.0-beta-172

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-store-builder",
3
- "version": "1.0.0-beta-171",
3
+ "version": "1.0.0-beta-172",
4
4
  "description": "storeBuilder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -4937,8 +4937,12 @@ export async function getRolloutDetails( req, res ) {
4937
4937
  if ( req.body.filter.status.includes( 'completed' ) ) {
4938
4938
  orCondition.push( {
4939
4939
  $and: [
4940
- { taskDetails: { $elemMatch: { type: 'merchRollout', status: 'submit' } } },
4941
- { taskDetails: { $elemMatch: { type: 'vmRollout', status: 'submit' } } },
4940
+ {
4941
+ $or: [
4942
+ { taskDetails: { $elemMatch: { type: 'merchRollout', status: 'submit' } } },
4943
+ { taskDetails: { $elemMatch: { type: 'vmRollout', status: 'submit' } } },
4944
+ ],
4945
+ },
4942
4946
  {
4943
4947
  $expr: {
4944
4948
  $eq: [ { $size: { $objectToArray: '$taskFeedback' } }, 0 ],