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