@xuda.io/ai_module 1.1.3715 → 1.1.3716
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2456,9 +2456,9 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2456
2456
|
|
|
2457
2457
|
//share_item_id
|
|
2458
2458
|
const app_id = await account_module.get_account_default_project_id(e.team_req_from_uid);
|
|
2459
|
-
const
|
|
2460
|
-
doc.properties.menuName =
|
|
2461
|
-
doc.studio_meta.agent_image =
|
|
2459
|
+
const ai_agent_doc = await db_module.get_app_couch_doc_native(app_id, e.share_item_id);
|
|
2460
|
+
doc.properties.menuName = ai_agent_doc.properties.menuName;
|
|
2461
|
+
doc.studio_meta.agent_image = ai_agent_doc.studio_meta.agent_image;
|
|
2462
2462
|
|
|
2463
2463
|
requests_from.docs.push(doc);
|
|
2464
2464
|
}
|