@xuda.io/account_module 1.2.1624 → 1.2.1625

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 +6 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2026,11 +2026,12 @@ export const add_contact = async function (req, job_id, headers) {
2026
2026
  }
2027
2027
  } else {
2028
2028
  contact_obj.mainCategory = cached_contact.mainCategory;
2029
- contact_obj.subCategory = business_sub_category;
2030
- contact_obj.business_size = business_size;
2031
- contact_obj.country = business_country;
2032
- contact_obj.bio = business_bio;
2033
- contact_obj.business_name = business_name;
2029
+ contact_obj.subCategory = cached_contact.subCategory;
2030
+ contact_obj.business_size = cached_contact.business_size;
2031
+ contact_obj.country = cached_contact.country;
2032
+ contact_obj.bio = cached_contact.bio;
2033
+ contact_obj.business_name = cached_contact.business_name;
2034
+ contact_obj.is_spam = cached_contact.is_spam;
2034
2035
  }
2035
2036
  const save_ret = await save_contact(uid, contact_obj);
2036
2037
  save_xuda_cache(uid, 'contact', contact_obj.email, null, contact_obj);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1624",
3
+ "version": "1.2.1625",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {