@xuda.io/account_module 1.2.1113 → 1.2.1114
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2694,6 +2694,7 @@ export const get_account_profiles = async function (req) {
|
|
|
2694
2694
|
for await (let doc of profiles.docs) {
|
|
2695
2695
|
doc = await get_account_profile_info(uid, doc);
|
|
2696
2696
|
if (doc.reserve) {
|
|
2697
|
+
profile_docs.docs.unshift(doc);
|
|
2697
2698
|
} else {
|
|
2698
2699
|
profile_docs.docs.push(doc);
|
|
2699
2700
|
}
|