@xuda.io/ai_module 1.1.5006 → 1.1.5007
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1284,8 +1284,10 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1284
1284
|
};
|
|
1285
1285
|
|
|
1286
1286
|
const get_data_view = async function () {
|
|
1287
|
+
let stat = 3;
|
|
1288
|
+
|
|
1287
1289
|
const ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'ai_chat_list', {
|
|
1288
|
-
key: reference_id,
|
|
1290
|
+
key: [stat, reference_id],
|
|
1289
1291
|
include_docs: true,
|
|
1290
1292
|
});
|
|
1291
1293
|
|