@xuda.io/ai_module 1.1.3750 → 1.1.3752

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 -6
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1701,13 +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
+ const app_id = await account_module.get_account_default_project_id(uid);
1704
1705
 
1705
- const app_id = await account_module.get_account_default_project_id(uid);
1706
- try {
1707
- let data = await db_module.get_app_couch_doc_native(app_id, _id);
1708
- return { code: 7, data };
1709
-
1710
-
1706
+ let data = await db_module.get_app_couch_doc(app_id, _id);
1707
+ return data;
1711
1708
  }
1712
1709
 
1713
1710
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3750",
3
+ "version": "1.1.3752",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",