@xuda.io/account_module 1.2.329 → 1.2.331
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 +3 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1573,6 +1573,9 @@ export const update_contacts_with_account_changes = async function (uid, changes
|
|
|
1573
1573
|
debugger;
|
|
1574
1574
|
var contacts = await db_module.find_couch_query('xuda_contacts', opt);
|
|
1575
1575
|
for (let doc of contacts.docs) {
|
|
1576
|
+
if (changes.includes('profile_picture')) {
|
|
1577
|
+
doc.account_info.profile_avatar = account_obj.account_info.profile_avatar;
|
|
1578
|
+
}
|
|
1576
1579
|
doc.profile_avatar = db_doc.account_info.profile_avatar;
|
|
1577
1580
|
console.log(doc);
|
|
1578
1581
|
}
|