@xuda.io/account_module 1.2.1043 → 1.2.1045
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 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2574,14 +2574,8 @@ export const get_profiles = async function (req) {
|
|
|
2574
2574
|
|
|
2575
2575
|
let profile_docs = { docs: [], total_docs: profiles.total_docs };
|
|
2576
2576
|
for await (let doc of profiles.docs) {
|
|
2577
|
-
if (ret_to) continue;
|
|
2578
|
-
|
|
2579
2577
|
doc = await get_contact_info(uid, doc);
|
|
2580
2578
|
|
|
2581
|
-
if (filter_type === 'online') {
|
|
2582
|
-
if (!doc.online) continue;
|
|
2583
|
-
}
|
|
2584
|
-
|
|
2585
2579
|
profile_docs.docs.push(doc);
|
|
2586
2580
|
}
|
|
2587
2581
|
|