@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.
Files changed (2) hide show
  1. package/index.mjs +5 -1
  2. 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4212",
3
+ "version": "1.1.4213",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",