@xuda.io/account_module 1.2.759 → 1.2.761
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
|
@@ -1248,7 +1248,6 @@ const get_contact_pattern = async function (doc) {
|
|
|
1248
1248
|
|
|
1249
1249
|
if (doc.my_contact) {
|
|
1250
1250
|
if (doc.account_type === 'business') {
|
|
1251
|
-
// const shared_from_uid_ret = await get_account_name({ uid_query: doc.contact_uid });
|
|
1252
1251
|
ret = doc.profile_picture;
|
|
1253
1252
|
} else {
|
|
1254
1253
|
ret = `my-pattern.png`;
|
|
@@ -1489,6 +1488,7 @@ const get_user_contact = async function (uid, uid_query) {
|
|
|
1489
1488
|
|
|
1490
1489
|
doc.name = account_info?.account_type === 'business' ? doc.business_name : `${account_info.first_name} ${account_info.last_name}`;
|
|
1491
1490
|
doc.profile_avatar = account_info.profile_avatar;
|
|
1491
|
+
doc.profile_picture = account_info.profile_picture;
|
|
1492
1492
|
doc.card_background = get_contact_background(doc);
|
|
1493
1493
|
doc.icon_pattern = await get_contact_pattern(doc);
|
|
1494
1494
|
doc.border = get_contact_border(doc);
|