@xuda.io/account_module 1.2.1916 → 1.2.1918

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2761,10 +2761,12 @@ export const not_spam_contact = async function (req, job_id, headers) {
2761
2761
  contact_doc.is_spam = false;
2762
2762
 
2763
2763
  await db_module.save_couch_doc_native('xuda_accounts', {
2764
+ _id: await _common.xuda_get_uuid('spam_whitelist'),
2764
2765
  uid,
2765
2766
  docType: 'spam_whitelist',
2766
2767
  email: contact_doc.email,
2767
2768
  date_created_ts: Date.now(),
2769
+ stat: 3,
2768
2770
  });
2769
2771
 
2770
2772
  const contact_save_ret = await save_contact(uid, contact_doc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1916",
3
+ "version": "1.2.1918",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {