@xuda.io/account_module 1.2.2223 → 1.2.2224
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2445,7 +2445,7 @@ export const get_contacts = async function (req, job_id, headers) {
|
|
|
2445
2445
|
}
|
|
2446
2446
|
|
|
2447
2447
|
if (!contact_id && with_requests) {
|
|
2448
|
-
if (filter_type === 'pending') {
|
|
2448
|
+
if (filter_type === 'pending' && account_profile_info.is_main) {
|
|
2449
2449
|
////// TO - OUT
|
|
2450
2450
|
requests_to.docs = await get_pending_contact_out(uid);
|
|
2451
2451
|
requests_to.total_docs = requests_to.docs.length;
|