@xuda.io/account_module 1.2.168 → 1.2.170

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -490,9 +490,9 @@ export const get_account_name = async function (req) {
490
490
  profile_picture: '',
491
491
  username: '',
492
492
  };
493
- if ((data.data.account_info, email, phone, profile_picture, username)) {
493
+ if (data.data.account_info) {
494
494
  const { first_name, last_name, website, country, bio, industry } = data.data.account_info;
495
- const { membership_plan, support_plan, storage_plan, date_created } = data.data;
495
+ const { membership_plan, support_plan, storage_plan, date_created_ts } = data.data;
496
496
  obj = {
497
497
  first_name,
498
498
  last_name,
@@ -507,7 +507,7 @@ export const get_account_name = async function (req) {
507
507
  membership_plan,
508
508
  support_plan,
509
509
  storage_plan,
510
- date_created,
510
+ date_created_ts,
511
511
  };
512
512
  }
513
513
  return { code: 1, data: obj };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.168",
3
+ "version": "1.2.170",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {