tango-app-api-trax 3.3.1-beta-54 → 3.3.1-beta-55
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
|
@@ -1010,7 +1010,7 @@ export const assignedUserDetailsv1 = async ( req, res ) => {
|
|
|
1010
1010
|
let storeDetails = await storeService.find( { _id: { $in: clusterDetails.stores.map( ( item ) => item.store ) }, status: 'active' } );
|
|
1011
1011
|
storeDetails.forEach( ( item ) => {
|
|
1012
1012
|
userDetails.push( {
|
|
1013
|
-
id: ele.
|
|
1013
|
+
id: ele.assignId,
|
|
1014
1014
|
userName: item.spocDetails?.[0]?.name,
|
|
1015
1015
|
userEmail: item.spocDetails?.[0]?.email,
|
|
1016
1016
|
store_id: item?.storeId,
|
|
@@ -1029,7 +1029,7 @@ export const assignedUserDetailsv1 = async ( req, res ) => {
|
|
|
1029
1029
|
let teamUserDetails = await userService.find( { _id: { $in: teamDetails.users.map( ( item ) => item.userId ) } } );
|
|
1030
1030
|
teamUserDetails.forEach( ( item ) => {
|
|
1031
1031
|
userDetails.push( {
|
|
1032
|
-
id: ele.
|
|
1032
|
+
id: ele.assignId,
|
|
1033
1033
|
userName: item.userName,
|
|
1034
1034
|
userEmail: item.email,
|
|
1035
1035
|
store_id: ele?.storeId,
|
|
@@ -1044,7 +1044,7 @@ export const assignedUserDetailsv1 = async ( req, res ) => {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
} else {
|
|
1046
1046
|
userDetails.push( {
|
|
1047
|
-
id: ele.
|
|
1047
|
+
id: ele.assignId,
|
|
1048
1048
|
userName: ele.userName,
|
|
1049
1049
|
userEmail: ele.userEmail,
|
|
1050
1050
|
store_id: ele?.store_id,
|