@xuda.io/account_module 1.2.1219 → 1.2.1221
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2487,6 +2487,7 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
|
|
|
2487
2487
|
}
|
|
2488
2488
|
|
|
2489
2489
|
profile[account_profile_id][uid] += input_credits + output_credits;
|
|
2490
|
+
total_usage += input_credits + output_credits;
|
|
2490
2491
|
}
|
|
2491
2492
|
|
|
2492
2493
|
let membership_plan = _conf.PLAN_OBJ?.[acc_obj?.ai_workspace_plan]?.features?.ai_credits || 0;
|