@xuda.io/account_module 1.2.1902 → 1.2.1904
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 +1 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2797,8 +2797,7 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2797
2797
|
|
|
2798
2798
|
for await (let conversation of conversations.docs) {
|
|
2799
2799
|
await ai_module.process_conversation(uid, conversation._id, account_profile_info, job_id, headers);
|
|
2800
|
-
await ai_module.update_conversation_mood_level(uid, [{ uid: account_profile_info.uid, contact_id }],
|
|
2801
|
-
// await process_email(email.email_account_id, profile, uid, email._id, job_id, headers, null, true);
|
|
2800
|
+
await ai_module.update_conversation_mood_level(uid, [{ uid: account_profile_info.uid, contact_id }], conversation._id, conversation.prompt, null, reference_id, conversation.reference_type === 'contacts', account_profile_info);
|
|
2802
2801
|
}
|
|
2803
2802
|
|
|
2804
2803
|
// update_conversation_mood_level
|