@xuda.io/account_module 1.2.98 → 1.2.100

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 +5 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1506,7 +1506,11 @@ const get_prices = function (uid, item) {
1506
1506
  break;
1507
1507
 
1508
1508
  case "drive_ocr":
1509
- price = _conf.PRICE_OBJ.drive_ocr_per_month;
1509
+ price = _conf.PRICE_OBJ.drive_addons.ocr.price;
1510
+ break;
1511
+
1512
+ case "drive_edit_image":
1513
+ price = _conf.PRICE_OBJ.drive_addons.edit_image.price;
1510
1514
  break;
1511
1515
 
1512
1516
  case "auto_backup":
@@ -1537,12 +1541,6 @@ const get_prices = function (uid, item) {
1537
1541
  price = _conf.PRICE_OBJ.utility_screen_per_month;
1538
1542
  break;
1539
1543
 
1540
- case "update_drive_addons_user":
1541
- case "update_drive_addons_studio":
1542
- case "update_drive_addons_workspace":
1543
- price = _conf.PRICE_OBJ.utility_screen_per_month;
1544
- break;
1545
-
1546
1544
  default:
1547
1545
  price = 0;
1548
1546
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.98",
3
+ "version": "1.2.100",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {