tango-app-api-audit 3.5.28 → 3.5.29
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
|
@@ -1175,7 +1175,7 @@ export async function summaryList( req, res ) {
|
|
|
1175
1175
|
{
|
|
1176
1176
|
$group: {
|
|
1177
1177
|
_id: '$Teamlead.email',
|
|
1178
|
-
clusterName: { $
|
|
1178
|
+
clusterName: { $addToSet: '$clusterName' },
|
|
1179
1179
|
RMName: { $first: '$Teamlead.email' },
|
|
1180
1180
|
store: { $addToSet: '$stores.storeId' },
|
|
1181
1181
|
|
|
@@ -1183,7 +1183,7 @@ export async function summaryList( req, res ) {
|
|
|
1183
1183
|
},
|
|
1184
1184
|
{ $project: {
|
|
1185
1185
|
RMName: 1,
|
|
1186
|
-
|
|
1186
|
+
clusterCount: { $size: '$clusterName' },
|
|
1187
1187
|
storesCount: { $size: '$store' },
|
|
1188
1188
|
store: 1,
|
|
1189
1189
|
} },
|