@xuda.io/account_module 1.2.1232 → 1.2.1234

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2698,7 +2698,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2698
2698
 
2699
2699
  const get_user_account_profiles = async () => {
2700
2700
  let account_profiles = [];
2701
- const account_profile_info = await account_module.get_active_account_profile_info(uid);
2701
+ const account_profile_info = await get_active_account_profile_info(uid);
2702
2702
  let selector = { docType: 'account_profile', stat: 3, uid: uid };
2703
2703
  let ret = await db_module.find_app_couch_query(account_profile_info.app_id, { selector });
2704
2704
  // for (const req_obj of ret.docs) {
@@ -2730,7 +2730,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2730
2730
  // doc.border = get_contact_border(doc);
2731
2731
 
2732
2732
  doc.members = await get_members();
2733
-
2733
+ const user_account_profiles = await get_user_account_profiles();
2734
2734
  debugger;
2735
2735
  const usage_ret = await get_account_ai_usage({ uid });
2736
2736
  doc.max_credits = usage_ret.data.credits.total;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1232",
3
+ "version": "1.2.1234",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {