@xuda.io/account_module 1.2.833 → 1.2.834
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
|
@@ -1603,7 +1603,7 @@ export const get_contacts = async function (req) {
|
|
|
1603
1603
|
let requests_from = { docs: [] };
|
|
1604
1604
|
let shared_from = { docs: [] };
|
|
1605
1605
|
let my_contact = { docs: [] };
|
|
1606
|
-
if (with_requests) {
|
|
1606
|
+
if (!_id && with_requests) {
|
|
1607
1607
|
if (filter_type === 'pending') {
|
|
1608
1608
|
////// TO - OUT
|
|
1609
1609
|
requests_to.docs = await get_pending_contact_out(uid);
|