@xuda.io/account_module 1.2.49 → 1.2.51

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.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1417,7 +1417,8 @@ exports.validate_account_topup = async function (uid) {
1417
1417
  };
1418
1418
 
1419
1419
  exports.get_prices = async function (uid, item) {
1420
- let price = 0;
1420
+ let price;
1421
+
1421
1422
  switch (item) {
1422
1423
  case user_group:
1423
1424
  case pwa:
@@ -1430,6 +1431,7 @@ exports.get_prices = async function (uid, item) {
1430
1431
  break;
1431
1432
 
1432
1433
  default:
1434
+ price = 0;
1433
1435
  break;
1434
1436
  }
1435
1437
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.49",
3
+ "version": "1.2.51",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {