@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.
Files changed (2) hide show
  1. package/index.mjs +3 -3
  2. 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 miniapp_ret = await db_module.get_app_couch_doc_native(app_id, e.share_item_id);
2460
- doc.properties.menuName = miniapp_ret.properties.menuName;
2461
- doc.studio_meta.agent_image = miniapp_ret.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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3715",
3
+ "version": "1.1.3716",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",