@xuda.io/ai_module 1.1.3677 → 1.1.3679
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1861,11 +1861,11 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1861
1861
|
// const ai_chats = await db_module.get_app_couch_view(app_id, 'ai_chat_list', {
|
|
1862
1862
|
// key: reference_id || '',
|
|
1863
1863
|
// });
|
|
1864
|
-
|
|
1865
1864
|
let ai_chats = { docs: [] };
|
|
1866
1865
|
if (filter_type !== 'pending') {
|
|
1867
1866
|
ai_chats = await db_module.find_app_couch_query(app_id, opt);
|
|
1868
1867
|
}
|
|
1868
|
+
console.log('opt', opt);
|
|
1869
1869
|
let docs = [];
|
|
1870
1870
|
|
|
1871
1871
|
for (let doc of ai_chats.docs || []) {
|