@xuda.io/ai_module 1.1.5091 → 1.1.5093
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
|
@@ -1168,7 +1168,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1168
1168
|
return data;
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
|
-
const chat_conversation_count = async function (
|
|
1171
|
+
const chat_conversation_count = async function () {
|
|
1172
1172
|
const counts_ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'chat_conversation_item_counts', {
|
|
1173
1173
|
reduce: true,
|
|
1174
1174
|
group_level: 999,
|
|
@@ -1334,7 +1334,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1334
1334
|
// const profile_id = account_profile_info.is_main ? 'all' : account_profile_info.account_profile_id;
|
|
1335
1335
|
// const conv_type = conversation_type ? conversation_type : 'all';
|
|
1336
1336
|
|
|
1337
|
-
const ret = await db_module.get_app_couch_view(account_profile_info.app_id, '
|
|
1337
|
+
const ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'chat_conversation_list', {
|
|
1338
1338
|
startkey: [stat_type, reference_id, 0],
|
|
1339
1339
|
endkey: [stat_type, reference_id, 9999999999999],
|
|
1340
1340
|
limit: parseInt(limit) || 9999,
|