@xuda.io/account_module 1.2.829 → 1.2.831

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -495,6 +495,7 @@ export const get_account_data = async function (req) {
495
495
  storage_plan: acc_obj.storage_plan,
496
496
  storage_plan_changed: acc_obj.storage_plan_changed,
497
497
  account_project_id: acc_obj.account_project_id,
498
+ boarded: acc_obj.boarded,
498
499
 
499
500
  prices_info: acc_obj.prices_info,
500
501
  activity_usage: acc_obj.activity_usage,
@@ -2244,7 +2245,8 @@ export const onboarding_completed = async function (req, job_id, headers) {
2244
2245
  }
2245
2246
  }
2246
2247
 
2247
- account_doc.onboarding = { headers, date_ts: Date.now() };
2248
+ account_doc.boarded_info = { headers, date_ts: Date.now() };
2249
+ account_doc.boarded = true;
2248
2250
  const save_ret = await db_module.save_couch_doc('xuda_accounts', account_doc);
2249
2251
  return save_ret;
2250
2252
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.829",
3
+ "version": "1.2.831",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {