@xuda.io/account_module 1.2.1044 → 1.2.1046
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 +0 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2489,7 +2489,6 @@ setTimeout(async () => {
|
|
|
2489
2489
|
}, 1000);
|
|
2490
2490
|
|
|
2491
2491
|
export const get_profiles = async function (req) {
|
|
2492
|
-
debugger;
|
|
2493
2492
|
const { _id, uid, profile_name, limit, skip, bookmark, search, filter_type = 'all', profile_id } = req;
|
|
2494
2493
|
|
|
2495
2494
|
if (_id) {
|
|
@@ -2576,10 +2575,6 @@ export const get_profiles = async function (req) {
|
|
|
2576
2575
|
for await (let doc of profiles.docs) {
|
|
2577
2576
|
doc = await get_contact_info(uid, doc);
|
|
2578
2577
|
|
|
2579
|
-
if (filter_type === 'online') {
|
|
2580
|
-
if (!doc.online) continue;
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
2578
|
profile_docs.docs.push(doc);
|
|
2584
2579
|
}
|
|
2585
2580
|
|