@xuda.io/ai_module 1.1.3682 → 1.1.3683

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1873,7 +1873,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1873
1873
 
1874
1874
  if (doc.shared_from_uid) {
1875
1875
  reference_doc = _.cloneDeep(doc);
1876
- doc = reference_doc;
1876
+ doc = await db_module.get_app_couch_doc_native(reference_doc.shared_from_app_id, reference_doc.share_item_id);
1877
1877
  doc.reference_doc = reference_doc;
1878
1878
  }
1879
1879
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3682",
3
+ "version": "1.1.3683",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",