@vivlab/api-database
Advanced tools
Comparing version 1.0.82 to 1.0.83
@@ -105,5 +105,5 @@ "use strict"; | ||
percent_off, | ||
discount: percent_off != null | ||
discount: Math.ceil(percent_off != null | ||
? (amountDiscountable * percent_off) / 1e2 | ||
: Math.min(amountDiscountable, amount_off || 0) | ||
: Math.min(amountDiscountable, amount_off || 0)) | ||
}; | ||
@@ -110,0 +110,0 @@ } |
{ | ||
"name": "@vivlab/api-database", | ||
"version": "1.0.82", | ||
"version": "1.0.83", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
455653