@xuda.io/account_module 1.2.1942 → 1.2.1943
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 +0 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2762,7 +2762,6 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2762
2762
|
var contact_doc = await get_contact(uid, contact_id);
|
|
2763
2763
|
contact_doc.is_spam = false;
|
|
2764
2764
|
|
|
2765
|
-
//////////////////
|
|
2766
2765
|
const is_business = await ai_module.is_business_contact(uid, contact_doc.email, contact_doc.name, contact_doc?.metadata?.subject, contact_doc?.metadata?.summarized_body, account_profile_info);
|
|
2767
2766
|
contact_doc.account_type = is_business ? 'business' : 'personal';
|
|
2768
2767
|
if (is_business) {
|
|
@@ -2775,8 +2774,6 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2775
2774
|
}
|
|
2776
2775
|
}
|
|
2777
2776
|
|
|
2778
|
-
////////////////
|
|
2779
|
-
|
|
2780
2777
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2781
2778
|
|
|
2782
2779
|
await db_module.save_couch_doc_native('xuda_accounts', {
|