@xuda.io/ai_module 1.1.3686 → 1.1.3687

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1941,7 +1941,9 @@ export const delete_ai_chat = async function (req) {
1941
1941
  }
1942
1942
 
1943
1943
  if (conversation_doc.shared_from_uid) {
1944
- const team_req = await db_module.get_couch_doc_native('xuda_team', conversation_doc.team_req_id);
1944
+ // const team_req = await db_module.get_couch_doc_native('xuda_team', conversation_doc.team_req_id);
1945
+ const team_module = await import(`${module_path}/team_module/index.mjs`);
1946
+ team_module.remove_team_member({ team_req_id });
1945
1947
  }
1946
1948
 
1947
1949
  return save_ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3686",
3
+ "version": "1.1.3687",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",