@xuda.io/account_module 1.2.1457 → 1.2.1458
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2710,7 +2710,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2710
2710
|
|
|
2711
2711
|
doc.members = await get_members();
|
|
2712
2712
|
const user_account_profiles = await get_user_account_profiles();
|
|
2713
|
-
|
|
2713
|
+
|
|
2714
2714
|
const usage_ret = await get_account_ai_usage({ uid });
|
|
2715
2715
|
doc.max_credits = usage_ret.data.credits.total / user_account_profiles.length;
|
|
2716
2716
|
doc.used_credits = usage_ret.data.usage[doc._id] || 0;
|