@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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. 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(`past_due ${data.balance.past_due}`);
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2247",
3
+ "version": "1.2.2248",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {