@xuda.io/account_module 1.2.1941 → 1.2.1942

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2777,6 +2777,8 @@ export const not_spam_contact = async function (req, job_id, headers) {
2777
2777
 
2778
2778
  ////////////////
2779
2779
 
2780
+ const contact_save_ret = await save_contact(uid, contact_doc);
2781
+
2780
2782
  await db_module.save_couch_doc_native('xuda_accounts', {
2781
2783
  _id: await _common.xuda_get_uuid('spam_whitelist'),
2782
2784
  uid,
@@ -2786,7 +2788,6 @@ export const not_spam_contact = async function (req, job_id, headers) {
2786
2788
  stat: 3,
2787
2789
  });
2788
2790
 
2789
- const contact_save_ret = await save_contact(uid, contact_doc);
2790
2791
  await delete_xuda_cache(contact_doc);
2791
2792
  set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
2792
2793
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1941",
3
+ "version": "1.2.1942",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {