@xuda.io/account_module 1.2.1115 → 1.2.1117

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
@@ -2528,7 +2528,7 @@ setTimeout(async () => {
2528
2528
 
2529
2529
  export const get_pending_share_profile_in = async function (uid, _id) {
2530
2530
  let docs = [];
2531
- const from_opt = { selector: { docType: 'team_request', access_type: 'profile', team_req_stat: 2, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
2531
+ const from_opt = { selector: { docType: 'team_request', access_type: 'account_profile', team_req_stat: 2, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
2532
2532
 
2533
2533
  if (_id) {
2534
2534
  to_opt.selector._id = _id;
@@ -2556,7 +2556,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2556
2556
  doc = await db_module.get_couch_doc_native('xuda_accounts', _id);
2557
2557
  }
2558
2558
  doc.notifications = 0;
2559
-
2559
+ debugger;
2560
2560
  const account_info_ret = await get_account_name({ uid_query: uid });
2561
2561
  if (account_info_ret.code < 0) {
2562
2562
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1115",
3
+ "version": "1.2.1117",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {