fix nko discount applying to non-nko user

This commit is contained in:
nflnkr 2023-10-26 13:53:14 +03:00
parent 4a21fecdac
commit 3aff04bf4a
2 changed files with 2 additions and 1 deletions

@ -22,6 +22,7 @@ export function findLoyaltyDiscount(
const applicableDiscounts = discounts.filter(discount => {
return (
discount.Layer === 4 &&
discount.Condition.UserType !== "nko" &&
purchasesAmount >= discount.Condition.PurchasesAmount
);
});

@ -1,6 +1,6 @@
{
"name": "@frontend/kitui",
"version": "1.0.53",
"version": "1.0.54",
"description": "test",
"main": "./dist/index.js",
"module": "./dist/index.js",