@xuda.io/account_module 1.2.1303 → 1.2.1304

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1423,7 +1423,8 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
1423
1423
  }
1424
1424
  if (doc.connection_type === 'account_profile') {
1425
1425
  try {
1426
- const account_profile_doc = await db_module.get_couch_doc_native('xuda_accounts', req_doc.share_item_id);
1426
+ const app_id = await get_account_default_project_id(uid);
1427
+ const account_profile_doc = await db_module.get_app_couch_doc_native(app_id, req_doc.share_item_id);
1427
1428
  doc.account_profile = account_profile_doc;
1428
1429
  } catch (error) {}
1429
1430
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1303",
3
+ "version": "1.2.1304",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {