tango-app-api-task 3.7.10 → 3.7.11

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-task",
3
- "version": "3.7.10",
3
+ "version": "3.7.11",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -4714,6 +4714,7 @@ export async function updateAssign( req, res ) {
4714
4714
  },
4715
4715
  ];
4716
4716
  let assignUserDetails = await userService.aggregate( query );
4717
+ let storeProfileDetails;
4717
4718
  if ( req.body.coverage == 'store' ) {
4718
4719
  let storeList = req.body.assignedList.map( ( ele ) => ele?.storeId );
4719
4720
  storeProfileDetails = await storeService.find( { storeId: { $in: storeList } }, { storeId: 1, city: '$storeProfile.city', country: '$storeProfile.country', state: '$storeProfile.state' } );