@xuda.io/account_module 1.2.1106 → 1.2.1108
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 +5 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -26,10 +26,11 @@ const account_info_properties = [
|
|
|
26
26
|
'profile_picture',
|
|
27
27
|
'username',
|
|
28
28
|
'website',
|
|
29
|
-
'auto_respond',
|
|
30
|
-
'auto_respond_mode',
|
|
31
|
-
'auto_respond_agents',
|
|
29
|
+
// 'auto_respond',
|
|
30
|
+
// 'auto_respond_mode',
|
|
31
|
+
// 'auto_respond_agents',
|
|
32
32
|
'profile_avatar_stat',
|
|
33
|
+
'active_account_profile_id',
|
|
33
34
|
];
|
|
34
35
|
|
|
35
36
|
global._conf = (
|
|
@@ -2379,7 +2380,7 @@ export const onboarding_completed = async function (req, job_id, headers) {
|
|
|
2379
2380
|
}
|
|
2380
2381
|
|
|
2381
2382
|
const account_profile_ret = await create_account_profile({ uid, reserve: true });
|
|
2382
|
-
account_doc.
|
|
2383
|
+
account_doc.account_profile_id = account_profile_ret.data.id;
|
|
2383
2384
|
account_doc.boarded_info = { headers, date_ts: Date.now() };
|
|
2384
2385
|
account_doc.isBoarded = true;
|
|
2385
2386
|
const save_ret = await db_module.save_couch_doc('xuda_accounts', account_doc);
|