@xuda.io/account_module 1.2.1028 → 1.2.1030
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.
- package/index.mjs +1 -8
- 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',
|
|
@@ -2522,13 +2521,7 @@ export const get_profiles = async function (req) {
|
|
|
2522
2521
|
break;
|
|
2523
2522
|
}
|
|
2524
2523
|
|
|
2525
|
-
case 'online': {
|
|
2526
|
-
opt.limit = 9999;
|
|
2527
|
-
break;
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
2524
|
default:
|
|
2531
|
-
with_requests = true;
|
|
2532
2525
|
break;
|
|
2533
2526
|
}
|
|
2534
2527
|
|
|
@@ -2605,7 +2598,7 @@ export const get_profiles = async function (req) {
|
|
|
2605
2598
|
contact_docs.docs.push(doc);
|
|
2606
2599
|
}
|
|
2607
2600
|
|
|
2608
|
-
if (!contact_id
|
|
2601
|
+
if (!contact_id) {
|
|
2609
2602
|
if (filter_type === 'pending') {
|
|
2610
2603
|
////// TO - OUT
|
|
2611
2604
|
requests_to.docs = await get_pending_contact_out(uid);
|