@xuda.io/ai_module 1.1.5565 → 1.1.5567

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2048,7 +2048,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2048
2048
  });
2049
2049
 
2050
2050
  const active_profile_ids = active_profiles.docs.map((profile) => profile._id).filter(Boolean);
2051
- opt.selector.account_profiles = { $in: active_profile_ids.length ? active_profile_ids : [account_profile_info.account_profile_id] };
2051
+ opt.selector['studio_meta.account_profiles'] = { $in: active_profile_ids.length ? active_profile_ids : [account_profile_info.account_profile_id] };
2052
2052
  }
2053
2053
 
2054
2054
  switch (filter_type) {
@@ -2445,7 +2445,7 @@ export const get_apps = async function (req, job_id, headers) {
2445
2445
  });
2446
2446
 
2447
2447
  const active_profile_ids = active_profiles.docs.map((profile) => profile._id).filter(Boolean);
2448
- opt.selector.account_profiles = { $in: active_profile_ids.length ? active_profile_ids : [account_profile_info.account_profile_id] };
2448
+ opt.selector['studio_meta.account_profiles'] = { $in: active_profile_ids.length ? active_profile_ids : [account_profile_info.account_profile_id] };
2449
2449
  }
2450
2450
 
2451
2451
  switch (filter_type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5565",
3
+ "version": "1.1.5567",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",