@xuda.io/ai_module 1.1.3725 → 1.1.3726

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 +1 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2445,7 +2445,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2445
2445
  if (filter_type === 'pending') {
2446
2446
  const from_opt = { selector: { docType: 'team_request', access_type: 'ai_agent', team_req_stat: 2, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
2447
2447
  const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
2448
- debugger;
2448
+
2449
2449
  for await (let e of requests_from_res.docs) {
2450
2450
  let doc = { ts: e.team_req_date, pending: true, properties: {}, studio_meta: { createdByUid: e.team_req_from_uid }, team_req_id: e._id };
2451
2451
 
@@ -2470,7 +2470,6 @@ export const get_ai_agents = async function (req, job_id, headers) {
2470
2470
  for (let doc of user_agents.docs) {
2471
2471
  let reference_doc;
2472
2472
  if (doc.studio_meta.shared_from_uid && doc.studio_meta.shared_from_app_id) {
2473
- debugger;
2474
2473
  reference_doc = _.cloneDeep(doc);
2475
2474
  doc = await db_module.get_app_couch_doc_native(reference_doc.studio_meta.shared_from_app_id, reference_doc.studio_meta.share_item_id);
2476
2475
  doc.reference_doc = reference_doc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3725",
3
+ "version": "1.1.3726",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",