@xuda.io/account_module 1.2.1941 → 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.
Files changed (2) hide show
  1. package/index.mjs +1 -3
  2. 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,7 +2774,7 @@ export const not_spam_contact = async function (req, job_id, headers) {
2775
2774
  }
2776
2775
  }
2777
2776
 
2778
- ////////////////
2777
+ const contact_save_ret = await save_contact(uid, contact_doc);
2779
2778
 
2780
2779
  await db_module.save_couch_doc_native('xuda_accounts', {
2781
2780
  _id: await _common.xuda_get_uuid('spam_whitelist'),
@@ -2786,7 +2785,6 @@ export const not_spam_contact = async function (req, job_id, headers) {
2786
2785
  stat: 3,
2787
2786
  });
2788
2787
 
2789
- const contact_save_ret = await save_contact(uid, contact_doc);
2790
2788
  await delete_xuda_cache(contact_doc);
2791
2789
  set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
2792
2790
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1941",
3
+ "version": "1.2.1943",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {