@xuda.io/ai_module 1.1.5047 → 1.1.5049

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1328,7 +1328,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1328
1328
  const conv_type = conversation_type ? conversation_type : 'all';
1329
1329
  const mine_uid = filter_type === 'mine' ? uid : 'all';
1330
1330
 
1331
- const ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'by_profile', {
1331
+ const ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'ai_chat_list', {
1332
1332
  startkey: [stat_type, reference_id, 0],
1333
1333
  endkey: [stat_type, reference_id, 9999999999999],
1334
1334
  limit: parseInt(limit) || 9999,
@@ -1337,6 +1337,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1337
1337
  descending: false,
1338
1338
  });
1339
1339
 
1340
+ return ret;
1340
1341
  debugger;
1341
1342
  };
1342
1343
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5047",
3
+ "version": "1.1.5049",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",