@xuda.io/account_module 1.2.142 → 1.2.144
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.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -94,7 +94,7 @@ exports.update_account_info = async function (req) {
|
|
|
94
94
|
|
|
95
95
|
if (!account_obj.account_project_id) {
|
|
96
96
|
const app_module = require(`${module_path}/app_module`);
|
|
97
|
-
const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true } });
|
|
97
|
+
const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true, app_plugins_purchased: [' @xuda.io/xuda-dbs-plugin-xuda', '@xuda.io/xuda-framework-plugin-tailwind'] } });
|
|
98
98
|
if (ret.code > -1) {
|
|
99
99
|
account_obj.account_project_id = ret.data;
|
|
100
100
|
}
|
|
@@ -407,7 +407,7 @@ exports.get_account_data = async function (req) {
|
|
|
407
407
|
support_plan_changed: acc_obj.support_plan_changed,
|
|
408
408
|
storage_plan: acc_obj.storage_plan,
|
|
409
409
|
storage_plan_changed: acc_obj.storage_plan_changed,
|
|
410
|
-
account_project_id:acc_obj.account_project_id
|
|
410
|
+
account_project_id: acc_obj.account_project_id,
|
|
411
411
|
|
|
412
412
|
prices_info: acc_obj.prices_info,
|
|
413
413
|
activity_usage: acc_obj.activity_usage,
|