@xuda.io/account_module 1.2.487 → 1.2.489
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 +4 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -569,7 +569,7 @@ export const get_account_name = async function (req) {
|
|
|
569
569
|
date_created_ts,
|
|
570
570
|
};
|
|
571
571
|
if (data.data.account_info) {
|
|
572
|
-
const { first_name, last_name, email, phone, profile_picture, profile_avatar, username, website, country, bio, industry } = data.data.account_info;
|
|
572
|
+
const { first_name, last_name, email, tel: phone, profile_picture, profile_avatar, username, website, country, bio, industry } = data.data.account_info;
|
|
573
573
|
|
|
574
574
|
obj = {
|
|
575
575
|
first_name,
|
|
@@ -1323,7 +1323,9 @@ export const get_contacts = async function (req) {
|
|
|
1323
1323
|
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1324
1324
|
|
|
1325
1325
|
doc.card_background = get_contact_background(doc);
|
|
1326
|
-
|
|
1326
|
+
|
|
1327
|
+
//membership_plan
|
|
1328
|
+
doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
|
|
1327
1329
|
doc.telephone = account_info_ret.data.tel;
|
|
1328
1330
|
|
|
1329
1331
|
// doc.notifications = 45;
|