@xuda.io/account_module 1.2.50 → 1.2.52

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 +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1417,7 +1417,7 @@ 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
1422
  switch (item) {
1423
1423
  case user_group:
@@ -1430,7 +1430,12 @@ exports.get_prices = async function (uid, item) {
1430
1430
  price = _conf.PRICE_OBJ.deployments[item];
1431
1431
  break;
1432
1432
 
1433
+ case drive_ocr:
1434
+ price = _conf.PRICE_OBJ.drive_ocr_per_month;
1435
+ break;
1436
+
1433
1437
  default:
1438
+ price = 0;
1434
1439
  break;
1435
1440
  }
1436
1441
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.50",
3
+ "version": "1.2.52",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {