@xuda.io/ai_module 1.1.3749 → 1.1.3751

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1701,7 +1701,10 @@ export const get_chat_conversation = async function (req) {
1701
1701
  let { conversation_id, order = 'asc', limit, after, _id, uid } = req;
1702
1702
 
1703
1703
  if (_id) {
1704
- return await get_studio_doc({ uid, _id });
1704
+ const app_id = await account_module.get_account_default_project_id(uid);
1705
+
1706
+ let data = await db_module.get_app_couch_doc_native(app_id, _id);
1707
+ return { code: 7, data };
1705
1708
  }
1706
1709
 
1707
1710
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3749",
3
+ "version": "1.1.3751",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",