@xuda.io/account_module 1.2.1883 → 1.2.1885

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 +5 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2763,7 +2763,7 @@ export const not_spam_contact = async function (req, job_id, headers) {
2763
2763
 
2764
2764
  // find contact emails , set status to 1
2765
2765
 
2766
- let ret = await db_module.find_app_couch_query(app_id, {
2766
+ let emails = await db_module.find_app_couch_query(account_profile_info.app_id, {
2767
2767
  selector: {
2768
2768
  docType: 'email',
2769
2769
  stat: 3,
@@ -2771,6 +2771,10 @@ export const not_spam_contact = async function (req, job_id, headers) {
2771
2771
  },
2772
2772
  });
2773
2773
 
2774
+ for (let email of emails.docs) {
2775
+ process_email;
2776
+ }
2777
+
2774
2778
  // save attachments
2775
2779
  // summarized_body
2776
2780
  // update_conversation_mood_level
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1883",
3
+ "version": "1.2.1885",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {