@xuda.io/account_module 1.2.1702 → 1.2.1703
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 +8 -7
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2156,13 +2156,14 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2156
2156
|
}
|
|
2157
2157
|
} else {
|
|
2158
2158
|
// get from cache
|
|
2159
|
-
contact_obj.
|
|
2160
|
-
contact_obj.
|
|
2161
|
-
contact_obj.
|
|
2162
|
-
contact_obj.
|
|
2163
|
-
contact_obj.
|
|
2164
|
-
contact_obj.
|
|
2165
|
-
// contact_obj.
|
|
2159
|
+
contact_obj.business_info = _.cloneDeep(cached_contact.business_info);
|
|
2160
|
+
// contact_obj.mainCategory = cached_contact.mainCategory;
|
|
2161
|
+
// contact_obj.subCategory = cached_contact.subCategory;
|
|
2162
|
+
// contact_obj.business_size = cached_contact.business_size;
|
|
2163
|
+
// contact_obj.country = cached_contact.country;
|
|
2164
|
+
// contact_obj.bio = cached_contact.bio;
|
|
2165
|
+
// contact_obj.business_name = cached_contact.business_name;
|
|
2166
|
+
// // contact_obj.is_spam = cached_contact.is_spam;
|
|
2166
2167
|
}
|
|
2167
2168
|
const save_ret = await save_contact(uid, contact_obj);
|
|
2168
2169
|
save_xuda_cache(uid, 'contact', contact_obj.email, null, contact_obj);
|