@xuda.io/account_module 1.2.1765 → 1.2.1767
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1388,8 +1388,8 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1388
1388
|
} else {
|
|
1389
1389
|
doc.email = doc.email;
|
|
1390
1390
|
}
|
|
1391
|
-
|
|
1392
|
-
doc.is_real_person = doc
|
|
1391
|
+
debugger;
|
|
1392
|
+
doc.is_real_person = doc?.account_type_info?.is_real_person && doc?.person_info?.person_full_name !== 'Not available';
|
|
1393
1393
|
doc.icon_pattern = await get_contact_pattern(doc);
|
|
1394
1394
|
|
|
1395
1395
|
delete doc.account_type_info;
|