@xuda.io/account_module 1.2.1784 → 1.2.1785

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2167,8 +2167,8 @@ export const add_contact = async function (req, job_id, headers) {
2167
2167
  }
2168
2168
  if (_.isEmpty(cached_contact) && account_type === 'business' && !business_has_person) {
2169
2169
  if (!identifyPersonalProvider(business_info.business_domain)) {
2170
- const domain = email.includes('@') ? email.split('@')[1] : '';
2171
- cached_contact = await get_xuda_cache(uid, 'contact', domain, 'metadata');
2170
+ // const domain = email.includes('@') ? email.split('@')[1] : '';
2171
+ cached_contact = await get_xuda_cache(uid, 'contact', business_info.business_domain, 'metadata');
2172
2172
  } else {
2173
2173
  cached_contact = await get_xuda_cache(uid, 'contact', business_info.business_name, 'metadata');
2174
2174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1784",
3
+ "version": "1.2.1785",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {