@xuda.io/account_module 1.2.1124 → 1.2.1126

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2630,7 +2630,7 @@ export const get_account_profiles = async function (req) {
2630
2630
  break;
2631
2631
  }
2632
2632
  case 'shared': {
2633
- opt.selector.shared_from_uid = { $gt: null };
2633
+ // opt.selector.shared_from_uid = { $gt: null };
2634
2634
  break;
2635
2635
  }
2636
2636
 
@@ -2699,7 +2699,7 @@ export const get_account_profiles = async function (req) {
2699
2699
  }
2700
2700
 
2701
2701
  if (!profile_id) {
2702
- // if (filter_type === 'pending') {
2702
+ if (filter_type !== 'mine') {
2703
2703
  ////// FROM - IN
2704
2704
  shared_from.docs = await get_share_profile_in(uid, filter_type === 'pending');
2705
2705
  shared_from.total_docs = shared_from.docs.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1124",
3
+ "version": "1.2.1126",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {