@xuda.io/account_module 1.2.1235 → 1.2.1237

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 +6 -6
  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 };
@@ -2697,15 +2702,10 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2697
2702
  };
2698
2703
 
2699
2704
  const get_user_account_profiles = async () => {
2700
- let account_profiles = [];
2701
2705
  const account_profile_info = await get_active_account_profile_info(uid);
2702
2706
  let selector = { docType: 'account_profile', stat: 3, uid: uid };
2703
2707
  let ret = await db_module.find_couch_query('xuda_accounts', { selector });
2704
- // for (const req_obj of ret.docs) {
2705
- // const account_info_ret = await get_account_name({ uid_query: req_obj.team_req_to_uid });
2706
- // const info = await await get_contact_info(uid, account_info_ret.data);
2707
- // members.push(info);
2708
- // }
2708
+
2709
2709
  return ret.docs;
2710
2710
  };
2711
2711
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1235",
3
+ "version": "1.2.1237",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {