@xuda.io/ai_module 1.1.4495 → 1.1.4497

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 +2 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4388,6 +4388,8 @@ const chat_email = async function (req, job_id, headers) {
4388
4388
  if (sender_conversation_doc.reference_type !== 'contacts') {
4389
4389
  throw new Error('not an contact conversation');
4390
4390
  }
4391
+ const contact_id = sender_conversation_doc.reference_id;
4392
+ const contact_info = await account_module.get_contact_info(uid, null, contact_id);
4391
4393
 
4392
4394
  let sent_email_result = {};
4393
4395
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4495",
3
+ "version": "1.1.4497",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",