tango-app-api-client 3.0.51-dev → 3.0.52-dev
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
|
@@ -1544,7 +1544,7 @@ export async function clientListV1( req, res ) {
|
|
|
1544
1544
|
],
|
|
1545
1545
|
},
|
|
1546
1546
|
activeStores: {
|
|
1547
|
-
$cond: [ { $and: [ { $eq: [ '$stores.status', 'active' ] }
|
|
1547
|
+
$cond: [ { $and: [ { $eq: [ '$stores.status', 'active' ] } ] }, 1, 0,
|
|
1548
1548
|
],
|
|
1549
1549
|
},
|
|
1550
1550
|
InactiveStores: {
|
|
@@ -1636,7 +1636,7 @@ export async function clientListV1( req, res ) {
|
|
|
1636
1636
|
clientId: 1,
|
|
1637
1637
|
onboardedStores: 1,
|
|
1638
1638
|
installedStore: 1,
|
|
1639
|
-
activeStores:
|
|
1639
|
+
activeStores: { $subtract: [ '$activeStores', '$installedPending' ] },
|
|
1640
1640
|
InactiveStores: 1,
|
|
1641
1641
|
ProcessingStatus: 1,
|
|
1642
1642
|
clientName: 1,
|