@xuda.io/ai_module 1.1.4484 → 1.1.4486

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4378,11 +4378,11 @@ const chat_email = async function (req, job_id, headers) {
4378
4378
  throw new Error('The user profile must include a defined email_account_id');
4379
4379
  }
4380
4380
 
4381
- let email_account_doc = await db_module.get_app_couch_doc_native(sender_app_id, account_profile_info.account_profile_obj?.email_account_id);
4382
-
4383
4381
  const conversation_id = conversation_doc._id;
4384
-
4385
4382
  const sender_app_id = account_profile_info.app_id;
4383
+
4384
+ let email_account_doc = await db_module.get_app_couch_doc_native(sender_app_id, account_profile_info.account_profile_obj?.email_account_id);
4385
+
4386
4386
  let sender_conversation_doc = await db_module.get_app_couch_doc_native(sender_app_id, conversation_id);
4387
4387
  if (perform_ai_execution) {
4388
4388
  await attachment_handler(uid, sender_app_id, conversation_id, attachments, account_profile_info);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4484",
3
+ "version": "1.1.4486",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",