@xuda.io/ai_module 1.1.3568 → 1.1.3570
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 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2626,8 +2626,8 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2626
2626
|
//////////////
|
|
2627
2627
|
|
|
2628
2628
|
let docs = [];
|
|
2629
|
-
for (let
|
|
2630
|
-
let doc = row.value;
|
|
2629
|
+
for (let doc of user_apps.docs) {
|
|
2630
|
+
// let doc = row.value;
|
|
2631
2631
|
doc._id = row.id;
|
|
2632
2632
|
|
|
2633
2633
|
if (!doc?.studio_meta?.agent_image?.length && (!doc?.studio_meta?.thumbnail_request_ts || Date.now() - doc?.studio_meta?.thumbnail_request_ts > 120000)) {
|
|
@@ -2636,10 +2636,6 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2636
2636
|
}
|
|
2637
2637
|
}
|
|
2638
2638
|
|
|
2639
|
-
// const account_info_ret = await account_module.get_account_name({ uid_query: doc.studio_meta.createdByUid });
|
|
2640
|
-
// if (account_info_ret.code > -1) {
|
|
2641
|
-
// // doc.account_info = account_info_ret.data;
|
|
2642
|
-
// }
|
|
2643
2639
|
doc.user_contact = await account_module.get_user_card(uid, doc.studio_meta.createdByUid);
|
|
2644
2640
|
|
|
2645
2641
|
docs.push(doc);
|