@xuda.io/ai_module 1.1.3585 → 1.1.3586

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1879,7 +1879,7 @@ export const delete_ai_chat = async function (req) {
1879
1879
  let conversation_doc = await db_module.get_app_couch_doc_native(app_id, conversation_id);
1880
1880
  conversation_doc.stat = 4;
1881
1881
  conversation_doc.ts = Date.now();
1882
- const data = await project_db.insert(conversation_doc);
1882
+ const data = await db_module.save_app_couch_doc(app_id, conversation_doc);
1883
1883
 
1884
1884
  client.conversations.delete(conversation_id);
1885
1885
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3585",
3
+ "version": "1.1.3586",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",