@xuda.io/account_module 1.2.1136 → 1.2.1137

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
@@ -2575,7 +2575,9 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2575
2575
 
2576
2576
  if (doc.team_req_id) {
2577
2577
  try {
2578
- const account_profile_doc = await db_module.get_couch_doc_native('xuda_accounts', doc.team_req_id);
2578
+ // const account_profile_doc = await db_module.get_couch_doc_native('xuda_accounts', doc.share_item_id);
2579
+ const shared_from_uid_ret = await get_account_name({ uid_query: doc.shared_from_uid });
2580
+ ret = shared_from_uid_ret.data.profile_avatar;
2579
2581
  } catch (error) {}
2580
2582
  } else if (doc.account_type === 'business') {
2581
2583
  ret = doc.profile_picture;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1136",
3
+ "version": "1.2.1137",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {