@xuda.io/ai_module 1.1.3599 → 1.1.3600
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5702,6 +5702,6 @@ const delete_depended_chats = async function (uid, reference_id = '392_agn_0048d
|
|
|
5702
5702
|
const chats_ret = await get_ai_chats({ uid, reference_id });
|
|
5703
5703
|
console.log(chats_ret.data);
|
|
5704
5704
|
for await (const doc of chats_ret.data.docs) {
|
|
5705
|
-
await delete_ai_chat({ conversation_id: _id, uid });
|
|
5705
|
+
await delete_ai_chat({ conversation_id: doc._id, uid });
|
|
5706
5706
|
}
|
|
5707
5707
|
};
|