@xuda.io/account_module 1.2.2099 → 1.2.2100
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1855,7 +1855,9 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
|
|
|
1855
1855
|
if (job_id) {
|
|
1856
1856
|
data.profile_info = {};
|
|
1857
1857
|
for (const [key, val] of Object.entries(data?.profiles || {})) {
|
|
1858
|
-
|
|
1858
|
+
try {
|
|
1859
|
+
data.profile_info[key] = await db_module.get_app_couch_doc_native(app_id, key);
|
|
1860
|
+
} catch (error) {}
|
|
1859
1861
|
}
|
|
1860
1862
|
}
|
|
1861
1863
|
|