@xuda.io/account_module 1.2.1631 → 1.2.1632

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2186,9 +2186,9 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2186
2186
  contact_obj.account_type,
2187
2187
  'contact',
2188
2188
  contact_id,
2189
- { bio: contact_obj.bio, country: contact_obj.country, mainCategory: contact_obj.mainCategory, subCategory: contact_obj.subCategory },
2189
+ { business_name: contact_obj.business_name, bio: contact_obj.bio, country: contact_obj.country, mainCategory: contact_obj.mainCategory, subCategory: contact_obj.subCategory },
2190
2190
  contact_obj.business_size,
2191
- contact_obj.name,
2191
+ contact_obj.business_name || contact_obj.name,
2192
2192
  contact_obj.email,
2193
2193
  job_id,
2194
2194
  headers,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1631",
3
+ "version": "1.2.1632",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {