@xuda.io/account_module 1.2.1204 → 1.2.1206
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 +2 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -576,9 +576,8 @@ export const get_account_info = async function (req) {
|
|
|
576
576
|
export const get_active_account_profile_info = async function (uid) {
|
|
577
577
|
const acc_obj = await db_module.get_couch_doc_native('xuda_accounts', uid);
|
|
578
578
|
|
|
579
|
-
// if (acc_obj.account_info.active_account_profile_id !== acc_obj.account_profile_id) {
|
|
580
579
|
let active_account_profile_id = acc_obj.account_info.active_account_profile_id;
|
|
581
|
-
|
|
580
|
+
|
|
582
581
|
try {
|
|
583
582
|
} catch (error) {}
|
|
584
583
|
const account_profile_obj = await db_module.get_couch_doc_native('xuda_accounts', active_account_profile_id);
|
|
@@ -2564,7 +2563,7 @@ setTimeout(async () => {
|
|
|
2564
2563
|
|
|
2565
2564
|
let ret;
|
|
2566
2565
|
|
|
2567
|
-
|
|
2566
|
+
ret = await get_account_ai_usage({ uid });
|
|
2568
2567
|
// ret = await create_account_profile({ uid });
|
|
2569
2568
|
// ret = await get_account_profiles({ uid });
|
|
2570
2569
|
|