@xuda.io/account_module 1.2.878 → 1.2.880
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.
- package/index.mjs +3 -4
- 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
|
-
|
|
153
|
-
|
|
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'] = '';
|
|
@@ -2275,7 +2274,7 @@ export const onboarding_completed = async function (req, job_id, headers) {
|
|
|
2275
2274
|
}
|
|
2276
2275
|
}
|
|
2277
2276
|
|
|
2278
|
-
account_doc.account_info.full_name = `${account_doc
|
|
2277
|
+
account_doc.account_info.full_name = `${account_doc.account_info.first_name} ${account_doc.account_info.last_name}`;
|
|
2279
2278
|
|
|
2280
2279
|
account_doc.boarded_info = { headers, date_ts: Date.now() };
|
|
2281
2280
|
account_doc.isBoarded = true;
|