@xuda.io/account_module 1.2.847 → 1.2.848

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 +7 -8
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1625,14 +1625,13 @@ export const get_contacts = async function (req) {
1625
1625
  });
1626
1626
  if (ret_to) continue;
1627
1627
 
1628
- let reference_doc;
1629
-
1630
- if (doc.shared_from_uid) {
1631
- reference_doc = _.cloneDeep(doc);
1632
- doc = await db_module.get_couch_doc_native('xuda_contacts', reference_doc.share_item_id);
1633
- doc.reference_doc = reference_doc;
1634
- doc._id = reference_doc._id;
1635
- }
1628
+ // let reference_doc;
1629
+ // if (doc.shared_from_uid) {
1630
+ // reference_doc = _.cloneDeep(doc);
1631
+ // doc = await db_module.get_couch_doc_native('xuda_contacts', reference_doc.share_item_id);
1632
+ // doc.reference_doc = reference_doc;
1633
+ // doc._id = reference_doc._id;
1634
+ // }
1636
1635
 
1637
1636
  const ret_from = requests_from.docs.find((e) => {
1638
1637
  return e.contact_uid === doc.contact_uid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.847",
3
+ "version": "1.2.848",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {