@xuda.io/account_module 1.2.784 → 1.2.786
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1428,6 +1428,7 @@ export const get_pending_contact_out = async function (uid, _id) {
|
|
|
1428
1428
|
if (account_info_ret.code < 0) {
|
|
1429
1429
|
continue; // throw new Error(`account ${contact_uid} not found`);
|
|
1430
1430
|
}
|
|
1431
|
+
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
1431
1432
|
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1432
1433
|
doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
|
|
1433
1434
|
}
|
|
@@ -1457,6 +1458,7 @@ export const get_pending_contact_in = async function (uid, _id) {
|
|
|
1457
1458
|
if (account_info_ret.code < 0) {
|
|
1458
1459
|
continue; // throw new Error(`account ${contact_uid} not found`);
|
|
1459
1460
|
}
|
|
1461
|
+
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
1460
1462
|
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1461
1463
|
doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
|
|
1462
1464
|
}
|