@xuda.io/account_module 1.2.1208 → 1.2.1209

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 +6 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2468,6 +2468,12 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
2468
2468
  profile['prf_123'] = 0;
2469
2469
  debugger;
2470
2470
  for (const row of ai_usage.rows) {
2471
+ const year = row.key[0];
2472
+ const month = row.key[1];
2473
+ const day = row.key[3];
2474
+ const profile = row.key[4];
2475
+ const uid = row.key[5];
2476
+ const model = row.key[6];
2471
2477
  const input_tokens = row.value[0];
2472
2478
  const output_tokens = row.value[1];
2473
2479
  const input_credits = row.value[2];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1208",
3
+ "version": "1.2.1209",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {