@xuda.io/ai_module 1.1.3686 → 1.1.3688
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.
- package/index.mjs +3 -1
- 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: conversation_doc.team_req_id });
|
|
1945
1947
|
}
|
|
1946
1948
|
|
|
1947
1949
|
return save_ret;
|