@xuda.io/account_module 1.2.1770 → 1.2.1771
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2222,7 +2222,6 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2222
2222
|
const save_ret = await save_contact(uid, contact_obj);
|
|
2223
2223
|
save_xuda_cache(uid, 'contact', contact_obj.email, null, contact_obj);
|
|
2224
2224
|
|
|
2225
|
-
debugger;
|
|
2226
2225
|
if (!contact_obj.is_spam && contact_obj.name) {
|
|
2227
2226
|
set_contact_profile_picture(uid, contact_obj._id, metadata, job_id, headers, account_profile_info);
|
|
2228
2227
|
}
|
|
@@ -2510,6 +2509,7 @@ export const get_contacts = async function (req, job_id, headers) {
|
|
|
2510
2509
|
contact_docs.docs.push(doc);
|
|
2511
2510
|
|
|
2512
2511
|
if (contact_id) {
|
|
2512
|
+
debugger;
|
|
2513
2513
|
if (!doc.profile_avatar && (!doc.profile_avatar_stat || doc.profile_avatar_stat === 1 || (doc.profile_avatar_stat === 2 && (!doc.profile_avatar_stat_ts || Date.now() - doc.profile_avatar_stat_ts > 1000 * 60 * 5)))) {
|
|
2514
2514
|
set_contact_profile_picture(uid, doc._id, {}, job_id, headers, account_profile_info);
|
|
2515
2515
|
}
|