@xuda.io/account_module 1.2.158 → 1.2.159
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 +2 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -504,8 +504,7 @@ export const get_account_instances = async function (req) {
|
|
|
504
504
|
};
|
|
505
505
|
|
|
506
506
|
export const get_account_info = async function (req) {
|
|
507
|
-
|
|
508
|
-
return await this.get_account_data({
|
|
507
|
+
return await get_account_data({
|
|
509
508
|
uid: req.uid,
|
|
510
509
|
enforce_usage: req.enforce_usage,
|
|
511
510
|
});
|
|
@@ -655,7 +654,7 @@ export const get_cpu = async function (req) {
|
|
|
655
654
|
const { app_obj } = req;
|
|
656
655
|
var cpu = 1;
|
|
657
656
|
if (app_obj.app_hosting) {
|
|
658
|
-
const hosting_plan =
|
|
657
|
+
const hosting_plan = get_hosting_plan({
|
|
659
658
|
app_obj,
|
|
660
659
|
});
|
|
661
660
|
|