@xuda.io/account_module 1.2.2108 → 1.2.2109
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1861,7 +1861,7 @@ export const get_account_ai_usage = async function (req, job_id, headers) {
|
|
|
1861
1861
|
|
|
1862
1862
|
for (const [user_id, val2] of Object.entries(val || {})) {
|
|
1863
1863
|
try {
|
|
1864
|
-
data.user_info[user_id] = (await db_module.get_couch_doc_native('xuda_accounts', user_id))
|
|
1864
|
+
data.user_info[user_id] = (await db_module.get_couch_doc_native('xuda_accounts', user_id))?.account_info?.full_name;
|
|
1865
1865
|
} catch (error) {}
|
|
1866
1866
|
}
|
|
1867
1867
|
} catch (error) {}
|