@xuda.io/account_module 1.2.406 → 1.2.407

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
@@ -1211,7 +1211,7 @@ export const get_contacts = async function (req) {
1211
1211
  });
1212
1212
 
1213
1213
  for await (let e of requests_to_res.docs) {
1214
- let doc = { docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', pending: true, contact_uid: e.team_req_to_uid, team_req_id: e._id };
1214
+ let doc = { docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', pending: true, contact_uid: e.team_req_to_uid, team_req_id: e._id };
1215
1215
 
1216
1216
  if (e.team_req_to_uid) {
1217
1217
  const account_ret = await get_account_name({ uid_query: e.team_req_to_uid });
@@ -1230,7 +1230,7 @@ export const get_contacts = async function (req) {
1230
1230
  const requests_from_res = await db_module.find_couch_query('xuda_team', { selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid'] });
1231
1231
 
1232
1232
  for await (let e of requests_from_res.docs) {
1233
- let doc = { docType: 'contact', date_created: e.team_req_date, email: [e.sender_account_info.email], name: '', _conf.anonymous_image_url, pending: true, contact_uid: e.team_req_to_uid, team_req_id: e._id };
1233
+ let doc = { docType: 'contact', date_created: e.team_req_date, email: [e.sender_account_info.email], name: '', pending: true, contact_uid: e.team_req_to_uid, team_req_id: e._id };
1234
1234
 
1235
1235
  if (e.team_req_to_uid) {
1236
1236
  const account_ret = await get_account_name({ uid_query: e.team_req_to_uid });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.406",
3
+ "version": "1.2.407",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {