@xuda.io/account_module 1.2.1909 → 1.2.1910

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2778,13 +2778,14 @@ export const not_spam_contact = async function (req, job_id, headers) {
2778
2778
  for await (let email of emails.docs) {
2779
2779
  const app_id = await get_account_default_project_id(uid);
2780
2780
  if (email.conversation_id) {
2781
- await db_module.delete_app_couch_doc(app_id, email.conversation_id);
2781
+ db_module.delete_app_couch_doc(app_id, email.conversation_id);
2782
2782
  email.conversation_id = null;
2783
2783
  }
2784
2784
  if (email.conversation_item_id) {
2785
- await db_module.delete_app_couch_doc(app_id, email.conversation_item_id);
2785
+ db_module.delete_app_couch_doc(app_id, email.conversation_item_id);
2786
2786
  email.conversation_item_id = null;
2787
2787
  }
2788
+ db_module.save_app_couch_doc(app_id, email);
2788
2789
 
2789
2790
  // save attachments
2790
2791
  // summarized_body
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1909",
3
+ "version": "1.2.1910",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {