@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.
- package/index.mjs +2 -1
- 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
|
|