@xuda.io/account_module 1.2.1154 → 1.2.1155

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2614,7 +2614,9 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2614
2614
  const get_online = async () => {
2615
2615
  let selector = { docType: 'team_request', team_req_stat: 3, share_item_id: doc._id, access_type: 'account_profile', team_req_from_uid: uid };
2616
2616
  let ret = await db_module.find_couch_query('xuda_team', { selector });
2617
- if (ret.docs.length) throw new Error('active share found');
2617
+ for (const req_obj of ret) {
2618
+ const acc = await get_account_name({ uid_query: req_obj.shared_to_uid });
2619
+ }
2618
2620
  };
2619
2621
 
2620
2622
  doc.avatar_source = account_info_ret.data.avatar_source;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1154",
3
+ "version": "1.2.1155",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {