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