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