@xuda.io/ai_module 1.1.4214 → 1.1.4216

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 +2 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1769,10 +1769,9 @@ 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;
1772
+
1773
1773
  if (!account_profile_info.is_main) {
1774
- opt.selector.account_profiles = 1;
1775
- //"udfData.data.category": {"$in": ["electronics", "books"]},
1774
+ opt.selector.account_profiles = { $in: [account_profile_info.account_profile_id] };
1776
1775
  }
1777
1776
 
1778
1777
  switch (filter_type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4214",
3
+ "version": "1.1.4216",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",