@xuda.io/account_module 1.2.1557 → 1.2.1559

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1878,7 +1878,8 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
1878
1878
  group_level: 999,
1879
1879
  });
1880
1880
 
1881
- let credits_obj, total_credits;
1881
+ let credits_obj = {},
1882
+ total_credits = 0;
1882
1883
  for (const row of ai_credits.data.rows) {
1883
1884
  const user = row.key[0];
1884
1885
  const source = row.key[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1557",
3
+ "version": "1.2.1559",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {