@xuda.io/ai_module 1.1.4487 → 1.1.4488
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 +5 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4385,8 +4385,12 @@ const chat_email = async function (req, job_id, headers) {
|
|
|
4385
4385
|
|
|
4386
4386
|
// send an email by user invocation
|
|
4387
4387
|
if (!from_mailbox) {
|
|
4388
|
+
const to = '';
|
|
4389
|
+
const subject = '';
|
|
4390
|
+
const text = '';
|
|
4391
|
+
|
|
4388
4392
|
const email_module = await import(`${module_path}/email_module/index.mjs`);
|
|
4389
|
-
const email_ret = email_module.sendEmailFromAccount();
|
|
4393
|
+
const email_ret = email_module.sendEmailFromAccount(email_account_doc, '');
|
|
4390
4394
|
}
|
|
4391
4395
|
|
|
4392
4396
|
let sender_conversation_doc = await db_module.get_app_couch_doc_native(sender_app_id, conversation_id);
|