@xuda.io/account_module 1.2.2173 → 1.2.2174
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3408,7 +3408,7 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
|
|
|
3408
3408
|
const response = await db_module.call_list_function('xuda_usage', 'ai_usage2', 'filter_usage', query);
|
|
3409
3409
|
|
|
3410
3410
|
// console.log('ai_usage', ai_usage.rows);
|
|
3411
|
-
|
|
3411
|
+
|
|
3412
3412
|
let total_usage = response.total_usage;
|
|
3413
3413
|
let profile = response.profiles;
|
|
3414
3414
|
|
|
@@ -3447,6 +3447,7 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
|
|
|
3447
3447
|
for (const [user_id, val2] of Object.entries(val || {})) {
|
|
3448
3448
|
try {
|
|
3449
3449
|
data.user_info[user_id] = (await db_module.get_couch_doc_native('xuda_accounts', user_id))?.account_info?.full_name;
|
|
3450
|
+
debugger;
|
|
3450
3451
|
} catch (error) {}
|
|
3451
3452
|
}
|
|
3452
3453
|
} catch (error) {}
|