@xuda.io/ai_module 1.1.4212 → 1.1.4213
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 +5 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1769,6 +1769,10 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1769
1769
|
skip: skip || 0,
|
|
1770
1770
|
sort: [{ ts: reference_id ? 'asc' : 'desc' }],
|
|
1771
1771
|
};
|
|
1772
|
+
debugger;
|
|
1773
|
+
if (!account_profile_info.is_main) {
|
|
1774
|
+
opt.selector = 1;
|
|
1775
|
+
}
|
|
1772
1776
|
|
|
1773
1777
|
switch (filter_type) {
|
|
1774
1778
|
case 'archived': {
|
|
@@ -1822,7 +1826,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1822
1826
|
};
|
|
1823
1827
|
}
|
|
1824
1828
|
|
|
1825
|
-
const app_id = await account_module.get_account_default_project_id(uid);
|
|
1829
|
+
// const app_id = await account_module.get_account_default_project_id(uid);
|
|
1826
1830
|
|
|
1827
1831
|
////// FROM - IN
|
|
1828
1832
|
let requests_from = { docs: [], total_docs: 0 };
|