@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.
- package/index.mjs +3 -3
- 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 (
|
|
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,
|
|
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
|
-
|
|
510
|
+
date_created_ts,
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
513
|
return { code: 1, data: obj };
|