@xuda.io/account_module 1.2.1912 → 1.2.1914
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2760,6 +2760,8 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2760
2760
|
var contact_doc = await get_contact(uid, contact_id);
|
|
2761
2761
|
contact_doc.is_spam = false;
|
|
2762
2762
|
|
|
2763
|
+
await db_module.save_couch_doc_native('xuda_', { uid, docType: 'spam_whitelist', email: contact_doc.email, date_created_ts: Date.now() });
|
|
2764
|
+
|
|
2763
2765
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2764
2766
|
await delete_xuda_cache(contact_doc);
|
|
2765
2767
|
set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
|