@xuda.io/account_module 1.2.950 → 1.2.951
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 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -492,7 +492,7 @@ export const get_account_data = async function (req) {
|
|
|
492
492
|
plan_info: acc_obj.plan_info,
|
|
493
493
|
support_plan: acc_obj.support_plan,
|
|
494
494
|
support_plan_changed: acc_obj.support_plan_changed,
|
|
495
|
-
|
|
495
|
+
ai_workspace_plan: acc_obj.ai_workspace_plan,
|
|
496
496
|
storage_plan_changed: acc_obj.storage_plan_changed,
|
|
497
497
|
account_project_id: acc_obj.account_project_id,
|
|
498
498
|
isBoarded: acc_obj.isBoarded,
|
|
@@ -575,7 +575,7 @@ export const get_account_name = async function (req) {
|
|
|
575
575
|
if (data.code < 0) {
|
|
576
576
|
return data;
|
|
577
577
|
}
|
|
578
|
-
const { membership_plan = '', support_plan = '',
|
|
578
|
+
const { membership_plan = '', support_plan = '', ai_workspace_plan = '', date_created_ts = '' } = data.data;
|
|
579
579
|
var obj = {
|
|
580
580
|
first_name: '',
|
|
581
581
|
last_name: '',
|
|
@@ -585,7 +585,7 @@ export const get_account_name = async function (req) {
|
|
|
585
585
|
username: '',
|
|
586
586
|
membership_plan,
|
|
587
587
|
support_plan,
|
|
588
|
-
|
|
588
|
+
ai_workspace_plan,
|
|
589
589
|
date_created_ts,
|
|
590
590
|
};
|
|
591
591
|
if (data.data.account_info) {
|
|
@@ -606,7 +606,7 @@ export const get_account_name = async function (req) {
|
|
|
606
606
|
industry,
|
|
607
607
|
membership_plan,
|
|
608
608
|
support_plan,
|
|
609
|
-
|
|
609
|
+
ai_workspace_plan,
|
|
610
610
|
date_created_ts,
|
|
611
611
|
account_type,
|
|
612
612
|
address,
|