@xuda.io/account_module 1.2.1551 → 1.2.1553

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1842,7 +1842,7 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
1842
1842
 
1843
1843
  let total_usage = 0;
1844
1844
  let profile = {};
1845
-
1845
+ debugger;
1846
1846
  for (const row of ai_usage.rows) {
1847
1847
  const user = row.key[0];
1848
1848
  const year = row.key[1];
@@ -1877,7 +1877,7 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
1877
1877
  reduce: true,
1878
1878
  group_level: 999,
1879
1879
  });
1880
-
1880
+ console.log('ai_credits', ai_credits);
1881
1881
  let data = { credits: {}, usage: { profile, projects: [], total: total_usage } };
1882
1882
 
1883
1883
  return { code: 55, data };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1551",
3
+ "version": "1.2.1553",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {