@xuda.io/account_module 1.2.1112 → 1.2.1113
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 +4 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2693,8 +2693,10 @@ export const get_account_profiles = async function (req) {
|
|
|
2693
2693
|
let profile_docs = { docs: [], total_docs: profiles.total_docs };
|
|
2694
2694
|
for await (let doc of profiles.docs) {
|
|
2695
2695
|
doc = await get_account_profile_info(uid, doc);
|
|
2696
|
-
|
|
2697
|
-
|
|
2696
|
+
if (doc.reserve) {
|
|
2697
|
+
} else {
|
|
2698
|
+
profile_docs.docs.push(doc);
|
|
2699
|
+
}
|
|
2698
2700
|
}
|
|
2699
2701
|
|
|
2700
2702
|
if (!profile_id) {
|