@xuda.io/account_module 1.2.2247 → 1.2.2248
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1601,7 +1601,7 @@ export const validate_account_topup = async function (uid, items = []) {
|
|
|
1601
1601
|
}
|
|
1602
1602
|
|
|
1603
1603
|
if (data?.balance?.past_due) {
|
|
1604
|
-
let err = new Error(`
|
|
1604
|
+
let err = new Error(`past due ${data.balance.past_due / 100}`);
|
|
1605
1605
|
err.code = -91;
|
|
1606
1606
|
err.billing_problem = true;
|
|
1607
1607
|
err.topup = topup + data.balance.past_due;
|