@xuda.io/ai_module 1.1.3671 → 1.1.3673

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1831,7 +1831,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1831
1831
  requests_from.docs.push(doc);
1832
1832
  }
1833
1833
  }
1834
- debugger;
1834
+
1835
1835
  if (filter_type === 'shared' || filter_type === 'all') {
1836
1836
  const from_opt = { selector: { docType: 'team_request', access_type: 'chat', team_req_stat: 3, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
1837
1837
  const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
@@ -1848,6 +1848,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1848
1848
  const chat_ret = await db_module.get_app_couch_doc_native(app_id, e.share_item_id);
1849
1849
  doc.title = chat_ret.title;
1850
1850
  doc.chat_image = chat_ret.chat_image;
1851
+ doc.team_req_id = e._id;
1851
1852
 
1852
1853
  requests_from.docs.push(doc);
1853
1854
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3671",
3
+ "version": "1.1.3673",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",