@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.
Files changed (2) hide show
  1. package/index.mjs +1 -0
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1219",
3
+ "version": "1.2.1221",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {