@xuda.io/account_module 1.2.835 → 1.2.837

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -417,8 +417,7 @@ export const increment_account_usage = async function (req) {
417
417
  const team_ret = await db_module.get_couch_view('xuda_team', 'user_group_shares_count', {
418
418
  key: app.id,
419
419
  reduce: true,
420
- // group_level: 1,
421
- group: true,
420
+ group_level: 1,
422
421
  });
423
422
 
424
423
  const team_members = team_ret.data.rows?.[0]?.value || 0;
@@ -1614,7 +1613,7 @@ export const get_contacts = async function (req) {
1614
1613
  shared_from.docs = await get_pending_share_contact_in(uid);
1615
1614
  }
1616
1615
  // my contact
1617
- if (!filter_type) {
1616
+ if (filter_type !== 'all') {
1618
1617
  //all
1619
1618
  const my_contact_doc = await get_user_contact(uid, uid);
1620
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.835",
3
+ "version": "1.2.837",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {