@xuda.io/account_module 1.2.1392 → 1.2.1393

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
@@ -2099,7 +2099,7 @@ const set_account_profile_picture = async function (uid, contact_uid) {
2099
2099
  break;
2100
2100
  }
2101
2101
 
2102
- const name = '';
2102
+ const name = account_info.account_type === 'business' ? account_info.business_name : account_info.full_name;
2103
2103
 
2104
2104
  const file_ret = await ai_module.get_profile_avatar(profile_picture, uid, '', account_profile_info, account_info.account_type, 'account', contact_uid, {}, business_size, name, account_info.email, job_id, headers);
2105
2105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1392",
3
+ "version": "1.2.1393",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {