@xuda.io/account_module 1.2.2095 → 1.2.2096

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1850,7 +1850,9 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
1850
1850
 
1851
1851
  let data = { credits: { ...credits_obj, total: total_credits }, usage: { profile, projects: [], total: total_usage } };
1852
1852
 
1853
- for (const [key, val] of Object.entries(data?.profiles || {})) {
1853
+ if (job_id) {
1854
+ for (const [key, val] of Object.entries(data?.profiles || {})) {
1855
+ }
1854
1856
  }
1855
1857
 
1856
1858
  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.2095",
3
+ "version": "1.2.2096",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {