@xuda.io/ai_module 1.1.4522 → 1.1.4523

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4451,7 +4451,8 @@ const chat_email = async function (req, job_id, headers) {
4451
4451
  if (!sent_email_result.success) {
4452
4452
  throw new Error('error sending email');
4453
4453
  }
4454
- ////
4454
+ //// attachments
4455
+ ///
4455
4456
  }
4456
4457
 
4457
4458
  if (perform_ai_execution) {
@@ -4472,7 +4473,7 @@ const chat_email = async function (req, job_id, headers) {
4472
4473
  sender_conversation_doc.messages.push(obj);
4473
4474
  await db_module.save_app_couch_doc_native(sender_app_id, sender_conversation_doc);
4474
4475
 
4475
- const save_ret = await db_module.save_app_couch_doc_native(sender_app_id, { _id: obj.id, stat: 3, docType: 'chat_conversation_item', ts: obj.ts, uid, conversation_type: obj.conversation_type, date_created_ts: obj.ts, conversation_id, body, email_id, sent_email_result });
4476
+ const save_ret = await db_module.save_app_couch_doc_native(sender_app_id, { _id: obj.id, stat: 3, docType: 'chat_conversation_item', sent_email_result, ts: obj.ts, uid, conversation_type: obj.conversation_type, date_created_ts: obj.ts, conversation_id, body, email_id });
4476
4477
 
4477
4478
  return save_ret;
4478
4479
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4522",
3
+ "version": "1.1.4523",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",