@xuda.io/account_module 1.2.344 → 1.2.346

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1184,7 +1184,7 @@ export const get_contacts = async function (req) {
1184
1184
  requests_from_ret = await db_module.find_couch_query('xuda_team', { selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_from_uid: uid }, fields: ['_id', 'team_req_date', 'team_req_to_email', 'team_req_from_uid'] });
1185
1185
  requests_to_ret = await db_module.find_couch_query('xuda_team', {
1186
1186
  selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_to_uid: uid },
1187
- fields: ['_id', 'team_req_date', 'team_req_to_email', 'sender_account_info.email', 'sender_account_info.first_name', 'sender_account_info.last_name', 'sender_account_info.profile_avatar'],
1187
+ fields: ['_id', 'team_req_date', 'team_req_to_email', 'sender_account_info.email', 'sender_account_info.first_name', 'sender_account_info.last_name', 'sender_account_info.profile_avatar', 'team_req_from_uid'],
1188
1188
  });
1189
1189
  }
1190
1190
  debugger;
@@ -1200,7 +1200,7 @@ export const get_contacts = async function (req) {
1200
1200
  name: `${e.sender_account_info.first_name} ${e.sender_account_info.last_name}`,
1201
1201
  profile_avatar: e.sender_account_info.profile_avatar || _conf.anonymous_image_url,
1202
1202
  pending: true,
1203
- uid: e.team_req_from_uid,
1203
+ team_req_from_uid: e.team_req_from_uid,
1204
1204
  req_from_id: e._id,
1205
1205
  })),
1206
1206
  ...contacts_ret.docs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.344",
3
+ "version": "1.2.346",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {