@xuda.io/account_module 1.2.1223 → 1.2.1224
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
|
@@ -2705,7 +2705,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2705
2705
|
doc.card_background = `linear-gradient(145deg, #242480 0%, #060619 100%)`;
|
|
2706
2706
|
// doc.border = get_contact_border(doc);
|
|
2707
2707
|
debugger;
|
|
2708
|
-
const usage_ret = await
|
|
2708
|
+
const usage_ret = await get_account_ai_usage({ uid });
|
|
2709
2709
|
obj.USER_DATA.max_credits = usage_ret.data.credits.total;
|
|
2710
2710
|
obj.USER_DATA.used_credits = usage_ret.data.usage.total;
|
|
2711
2711
|
|