@xuda.io/ai_module 1.1.5003 → 1.1.5004
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.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1290,7 +1290,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1290
1290
|
});
|
|
1291
1291
|
|
|
1292
1292
|
debugger;
|
|
1293
|
-
|
|
1293
|
+
return;
|
|
1294
1294
|
let opt = {
|
|
1295
1295
|
selector: {
|
|
1296
1296
|
docType: 'chat_conversation',
|
|
@@ -1410,7 +1410,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1410
1410
|
|
|
1411
1411
|
if (filter_type !== 'pending') {
|
|
1412
1412
|
ai_chats = await get_data_find();
|
|
1413
|
-
|
|
1413
|
+
get_data_view();
|
|
1414
1414
|
// ai_chats = await db_module.find_app_couch_query(account_profile_info.app_id, opt);
|
|
1415
1415
|
// if (!limit || conversation_id) {
|
|
1416
1416
|
// ai_chats.total_docs = ai_chats.docs.length;
|