@xuda.io/account_module 1.2.1627 → 1.2.1629
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1998,7 +1998,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
1998
1998
|
source,
|
|
1999
1999
|
team_req_id,
|
|
2000
2000
|
metadata,
|
|
2001
|
-
is_spam,
|
|
2001
|
+
is_spam: cached_contact?.is_spam || is_spam,
|
|
2002
2002
|
|
|
2003
2003
|
account_profiles: [account_profile_obj._id],
|
|
2004
2004
|
account_type: cached_contact?.account_type || account_type,
|
|
@@ -2032,7 +2032,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2032
2032
|
contact_obj.country = cached_contact.country;
|
|
2033
2033
|
contact_obj.bio = cached_contact.bio;
|
|
2034
2034
|
contact_obj.business_name = cached_contact.business_name;
|
|
2035
|
-
contact_obj.is_spam = cached_contact.is_spam;
|
|
2035
|
+
// contact_obj.is_spam = cached_contact.is_spam;
|
|
2036
2036
|
}
|
|
2037
2037
|
const save_ret = await save_contact(uid, contact_obj);
|
|
2038
2038
|
save_xuda_cache(uid, 'contact', contact_obj.email, null, contact_obj);
|