@xuda.io/account_module 1.2.1236 → 1.2.1238

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 +8 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2429,6 +2429,11 @@ export const onboarding_completed = async function (req, job_id, headers) {
2429
2429
  account_doc.boarded_info = { headers, date_ts: Date.now() };
2430
2430
  account_doc.isBoarded = true;
2431
2431
  const save_ret = await db_module.save_couch_doc('xuda_accounts', account_doc);
2432
+
2433
+ /// create view
2434
+
2435
+ ///////
2436
+
2432
2437
  return save_ret;
2433
2438
  } catch (err) {
2434
2439
  return { code: -44, data: err.message };
@@ -2578,10 +2583,12 @@ setTimeout(async () => {
2578
2583
 
2579
2584
  let ret;
2580
2585
 
2581
- ret = await get_account_ai_usage({ uid });
2586
+ // ret = await get_account_ai_usage({ uid });
2582
2587
  // ret = await create_account_profile({ uid });
2583
2588
  // ret = await get_account_profiles({ uid });
2584
2589
 
2590
+ let _design = await db_module.get_app_couch_doc(app_id, 'xuda/_design');
2591
+ console.log(_design);
2585
2592
  console.log(ret);
2586
2593
  }, 1000);
2587
2594
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1236",
3
+ "version": "1.2.1238",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {