@xuda.io/ai_module 1.1.3692 → 1.1.3694
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 +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1923,6 +1923,7 @@ export const delete_ai_chat = async function (req) {
|
|
|
1923
1923
|
let conversation_doc = await db_module.get_app_couch_doc_native(app_id, conversation_id);
|
|
1924
1924
|
try {
|
|
1925
1925
|
if (conversation_doc.shared_from_uid) {
|
|
1926
|
+
// delete the share , the doc will delete by the remove_team_member
|
|
1926
1927
|
const team_module = await import(`${module_path}/team_module/index.mjs`);
|
|
1927
1928
|
team_module.remove_team_member({ team_req_id: conversation_doc.team_req_id });
|
|
1928
1929
|
} else {
|