@xuda.io/account_module 1.2.1122 → 1.2.1123
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 +5 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2699,12 +2699,12 @@ export const get_account_profiles = async function (req) {
|
|
|
2699
2699
|
}
|
|
2700
2700
|
|
|
2701
2701
|
if (!profile_id) {
|
|
2702
|
-
if (filter_type === 'pending') {
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
}
|
|
2702
|
+
// if (filter_type === 'pending') {
|
|
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;
|
|
2707
2706
|
}
|
|
2707
|
+
// }
|
|
2708
2708
|
|
|
2709
2709
|
return {
|
|
2710
2710
|
code: 1,
|