@xuda.io/account_module 1.2.860 → 1.2.862

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 +1 -7
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -852,7 +852,7 @@ export const get_ssh_keys = async function (req) {
852
852
  };
853
853
 
854
854
  if (_id) {
855
- opt._id = _id;
855
+ opt.selector._id = _id;
856
856
  }
857
857
 
858
858
  var ret = await db_module.find_couch_query('xuda_ssh_keys', opt);
@@ -1551,12 +1551,6 @@ const get_user_contact = async function (uid, uid_query) {
1551
1551
  export const get_contacts = async function (req) {
1552
1552
  const { _id, uid, name, limit, skip, bookmark, search, filter_type = 'all', contact_id } = req;
1553
1553
 
1554
- // if (_id) {
1555
- // let doc_ret = await get_ai_doc({ _id, uid });
1556
-
1557
- // return doc_ret;
1558
- // }
1559
-
1560
1554
  if (_id) {
1561
1555
  let data = await db_module.get_couch_doc('xuda_contacts', _id);
1562
1556
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.860",
3
+ "version": "1.2.862",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {