@xuda.io/account_module 1.2.1753 → 1.2.1754

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2291,7 +2291,7 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2291
2291
  country: contact_obj?.business_info?.business_country || contact_obj?.person_info?.person_nationality,
2292
2292
  mainCategory: contact_obj?.business_info?.mainCategory,
2293
2293
  subCategory: contact_obj?.business_info?.subCategory,
2294
- is_real_person: contact_obj?.account_type_info?.is_real_person,
2294
+ is_real_person: contact_obj?.account_type_info?.is_real_person && contact_obj?.person_info?.person_full_name !== 'Not available',
2295
2295
  },
2296
2296
  // { business_info: contact_obj.business_info, personal_info: contact_obj.personal_info, account_type_info: contact_obj.account_type_info },
2297
2297
  contact_obj?.business_info?.business_size,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1753",
3
+ "version": "1.2.1754",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {