@xuda.io/ai_module 1.1.4917 → 1.1.4918
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -70,6 +70,7 @@ const account_ms = await import(`${module_path}/account_module/index_ms.mjs`);
|
|
|
70
70
|
const drive_ms = await import(`${module_path}/drive_module/index_ms.mjs`);
|
|
71
71
|
const jobs_ms = await import(`${module_path}/jobs_module/index_ms.mjs`);
|
|
72
72
|
const team_ms = await import(`${module_path}/team_module/index_ms.mjs`);
|
|
73
|
+
const email_ms = await import(`${module_path}/email_module/index_ms.mjs`);
|
|
73
74
|
|
|
74
75
|
var open_ai_status = {};
|
|
75
76
|
const report_ai_status = function (model, err) {
|
|
@@ -3837,8 +3838,7 @@ const chat_email = async function (req, job_id, headers) {
|
|
|
3837
3838
|
email_attachments.push(await save_drive_file_to_disk(attachment));
|
|
3838
3839
|
}
|
|
3839
3840
|
|
|
3840
|
-
|
|
3841
|
-
sent_email_result = await email_module.sendEmailFromAccount(email_account_doc, contact_info.email, subject, body, null, email_attachments);
|
|
3841
|
+
sent_email_result = await email_ms.sendEmailFromAccount(email_account_doc, contact_info.email, subject, body, null, email_attachments);
|
|
3842
3842
|
if (!sent_email_result.success) {
|
|
3843
3843
|
throw new Error('error sending email');
|
|
3844
3844
|
}
|