@xuda.io/ai_module 1.1.3673 → 1.1.3674

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 +4 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1845,9 +1845,10 @@ export const get_ai_chats = async function (req, job_id, headers) {
1845
1845
 
1846
1846
  //share_item_id
1847
1847
  const app_id = await account_module.get_account_default_project_id(e.team_req_from_uid);
1848
- const chat_ret = await db_module.get_app_couch_doc_native(app_id, e.share_item_id);
1849
- doc.title = chat_ret.title;
1850
- doc.chat_image = chat_ret.chat_image;
1848
+ const chat_doc = await db_module.get_app_couch_doc_native(app_id, e.share_item_id);
1849
+ doc = chat_doc;
1850
+ // doc.title = chat_ret.title;
1851
+ // doc.chat_image = chat_ret.chat_image;
1851
1852
  doc.team_req_id = e._id;
1852
1853
 
1853
1854
  requests_from.docs.push(doc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3673",
3
+ "version": "1.1.3674",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",