@xuda.io/account_module 1.2.837 → 1.2.838

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1613,7 +1613,7 @@ export const get_contacts = async function (req) {
1613
1613
  shared_from.docs = await get_pending_share_contact_in(uid);
1614
1614
  }
1615
1615
  // my contact
1616
- if (filter_type !== 'all') {
1616
+ if (filter_type === 'all') {
1617
1617
  //all
1618
1618
  const my_contact_doc = await get_user_contact(uid, uid);
1619
1619
  my_contact.docs = [my_contact_doc];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.837",
3
+ "version": "1.2.838",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {