@xuda.io/account_module 1.2.1028 → 1.2.1029

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2495,7 +2495,6 @@ export const get_profiles = async function (req) {
2495
2495
  return data;
2496
2496
  }
2497
2497
 
2498
- let { with_requests } = req;
2499
2498
  var opt = {
2500
2499
  selector: {
2501
2500
  docType: 'contact',
@@ -2528,7 +2527,6 @@ export const get_profiles = async function (req) {
2528
2527
  }
2529
2528
 
2530
2529
  default:
2531
- with_requests = true;
2532
2530
  break;
2533
2531
  }
2534
2532
 
@@ -2605,7 +2603,7 @@ export const get_profiles = async function (req) {
2605
2603
  contact_docs.docs.push(doc);
2606
2604
  }
2607
2605
 
2608
- if (!contact_id && with_requests) {
2606
+ if (!contact_id) {
2609
2607
  if (filter_type === 'pending') {
2610
2608
  ////// TO - OUT
2611
2609
  requests_to.docs = await get_pending_contact_out(uid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1028",
3
+ "version": "1.2.1029",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {