@xuda.io/account_module 1.2.1126 → 1.2.1127
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 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2700,11 +2700,11 @@ export const get_account_profiles = async function (req) {
|
|
|
2700
2700
|
|
|
2701
2701
|
if (!profile_id) {
|
|
2702
2702
|
if (filter_type !== 'mine') {
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2703
|
+
////// FROM - IN
|
|
2704
|
+
shared_from.docs = await get_share_profile_in(uid, filter_type === 'pending');
|
|
2705
|
+
shared_from.total_docs = shared_from.docs.length;
|
|
2706
|
+
}
|
|
2706
2707
|
}
|
|
2707
|
-
// }
|
|
2708
2708
|
|
|
2709
2709
|
return {
|
|
2710
2710
|
code: 1,
|