@xuda.io/account_module 1.2.340 → 1.2.341

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
@@ -1192,7 +1192,7 @@ export const get_contacts = async function (req) {
1192
1192
  code: 1,
1193
1193
  data: {
1194
1194
  docs: [
1195
- ...requests_from_ret.docs.map((e) => ({ docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', profile_avatar: anonymous_image_url, pending: true, uid: e.team_req_from_uid })),
1195
+ ...requests_from_ret.docs.map((e) => ({ docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', profile_avatar: anonymous_image_url, pending: true, uid: e.team_req_from_uid, req_id: e._id })),
1196
1196
  ...requests_to_ret.docs.map((e) => ({
1197
1197
  docType: 'contact',
1198
1198
  date_created: e.team_req_date,
@@ -1201,6 +1201,7 @@ export const get_contacts = async function (req) {
1201
1201
  profile_avatar: e.sender_account_info.profile_avatar || _conf.anonymous_image_url,
1202
1202
  pending: true,
1203
1203
  uid: e.team_req_from_uid,
1204
+ req_id: e._id,
1204
1205
  })),
1205
1206
  ...contacts_ret.docs,
1206
1207
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.340",
3
+ "version": "1.2.341",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {