@xuda.io/account_module 1.2.394 → 1.2.396

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1220,6 +1220,7 @@ export const get_contacts = async function (req) {
1220
1220
  }
1221
1221
  doc.profile_avatar = account_ret.data.profile_avatar;
1222
1222
  }
1223
+ requests_to.docs.push(doc);
1223
1224
  }
1224
1225
 
1225
1226
  ////// FROM
@@ -1230,7 +1231,7 @@ export const get_contacts = async function (req) {
1230
1231
  code: 1,
1231
1232
  data: {
1232
1233
  docs: [
1233
- ...requests_to.docs.map((e) => ({ docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', profile_avatar: _conf.anonymous_image_url, pending: true, uid: e.team_req_from_uid, team_req_id: e._id })),
1234
+ ...requests_to.docs,
1234
1235
  ...requests_from.docs.map((e) => ({
1235
1236
  docType: 'contact',
1236
1237
  date_created: e.team_req_date,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.394",
3
+ "version": "1.2.396",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {