@xuda.io/account_module 1.2.381 → 1.2.383

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
@@ -1207,7 +1207,7 @@ export const get_contacts = async function (req) {
1207
1207
  requests_from = 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'] });
1208
1208
  requests_to = await db_module.find_couch_query('xuda_team', {
1209
1209
  selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_to_uid: uid },
1210
- 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'],
1210
+ fields: ['_id', 'team_req_date', 'team_req_to_uid', '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'],
1211
1211
  });
1212
1212
  }
1213
1213
 
@@ -1232,7 +1232,7 @@ export const get_contacts = async function (req) {
1232
1232
  };
1233
1233
  };
1234
1234
 
1235
- export const delete_contact = async function (req) {
1235
+ export const archive_contact = async function (req) {
1236
1236
  const { _id } = req;
1237
1237
 
1238
1238
  const contact_ret = await db_module.get_couch_doc('xuda_contacts', _id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.381",
3
+ "version": "1.2.383",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {