@xuda.io/account_module 1.2.1427 → 1.2.1429

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 +3 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2177,13 +2177,12 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2177
2177
 
2178
2178
  if (!contact_obj.profile_avatar) {
2179
2179
  const business_info = await get_business_info(uid, contact_obj.name, contact_obj.email, account_profile_info);
2180
- const { business_size, business_category, business_sub_category, business_country } = business_info;
2180
+ const { business_size, business_category, business_sub_category, business_country, business_bio } = business_info;
2181
2181
  contact_obj.mainCategory = business_category;
2182
2182
  contact_obj.subCategory = business_sub_category;
2183
2183
  contact_obj.business_size = business_size;
2184
2184
  contact_obj.country = business_country;
2185
-
2186
- // const { bio, country, mainCategory, subCategory } = account_info;
2185
+ contact_obj.bio = business_bio;
2187
2186
 
2188
2187
  const file_ret = await ai_module.get_profile_avatar(
2189
2188
  profile_picture,
@@ -2193,7 +2192,7 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2193
2192
  contact_obj.account_type,
2194
2193
  'contact',
2195
2194
  contact_id,
2196
- { bio, country: contact_obj.country, mainCategory: contact_obj.mainCategory, subCategory: contact_obj.subCategory },
2195
+ { bio: contact_obj.bio, country: contact_obj.country, mainCategory: contact_obj.mainCategory, subCategory: contact_obj.subCategory },
2197
2196
  business_size,
2198
2197
  contact_obj.name,
2199
2198
  contact_obj.email,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1427",
3
+ "version": "1.2.1429",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {