@xuda.io/account_module 1.2.878 → 1.2.879

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -149,9 +149,8 @@ export const update_account_info = async function (req, job_id, headers) {
149
149
  if (!change) {
150
150
  return { code: 1300, data: 'no change' };
151
151
  }
152
- if (account_obj.account_info.full_name) {
153
- account_obj.account_info.full_name = `${account_obj.account_info.first_name} ${account_obj.account_info.last_name}`;
154
- }
152
+
153
+ account_obj.account_info.full_name = `${account_obj.account_info.first_name} ${account_obj.account_info.last_name}`;
155
154
 
156
155
  if (account_info_changes_arr.includes('profile_picture') || account_info_changes_arr.includes('profile_avatar_stat')) {
157
156
  account_obj.account_info['profile_avatar'] = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.878",
3
+ "version": "1.2.879",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {