@xuda.io/account_module 1.2.488 → 1.2.490

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  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,
@@ -1326,7 +1326,7 @@ export const get_contacts = async function (req) {
1326
1326
 
1327
1327
  //membership_plan
1328
1328
  doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
1329
- doc.telephone = account_info_ret.data.tel;
1329
+ doc.telephone = account_info_ret.data.phone;
1330
1330
 
1331
1331
  // doc.notifications = 45;
1332
1332
  // doc.online = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.488",
3
+ "version": "1.2.490",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {