@xuda.io/account_module 1.2.1211 → 1.2.1213
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 +5 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2465,15 +2465,15 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
|
|
|
2465
2465
|
// console.log('ai_usage', ai_usage.rows);
|
|
2466
2466
|
|
|
2467
2467
|
let profile = {};
|
|
2468
|
-
|
|
2468
|
+
|
|
2469
2469
|
debugger;
|
|
2470
2470
|
for (const row of ai_usage.rows) {
|
|
2471
2471
|
const year = row.key[0];
|
|
2472
2472
|
const month = row.key[1];
|
|
2473
|
-
const day = row.key[
|
|
2474
|
-
const account_profile_id = row.key[
|
|
2475
|
-
const uid = row.key[
|
|
2476
|
-
const model = row.key[
|
|
2473
|
+
const day = row.key[2];
|
|
2474
|
+
const account_profile_id = row.key[3];
|
|
2475
|
+
const uid = row.key[4];
|
|
2476
|
+
const model = row.key[5];
|
|
2477
2477
|
const input_tokens = row.value[0];
|
|
2478
2478
|
const output_tokens = row.value[1];
|
|
2479
2479
|
const input_credits = row.value[2];
|