@xuda.io/account_module 1.2.1914 → 1.2.1915
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 +6 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2760,7 +2760,12 @@ 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_', {
|
|
2763
|
+
await db_module.save_couch_doc_native('xuda_', {
|
|
2764
|
+
uid,
|
|
2765
|
+
docType: 'spam_whitelist',
|
|
2766
|
+
email: contact_doc.email,
|
|
2767
|
+
date_created_ts: Date.now(),
|
|
2768
|
+
});
|
|
2764
2769
|
|
|
2765
2770
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2766
2771
|
await delete_xuda_cache(contact_doc);
|