From 81acf736b1dd1f5449eefe10749f1fbc2c04fca5 Mon Sep 17 00:00:00 2001 From: ZareMate <0.zaremate@gmail.com> Date: Tue, 30 Dec 2025 18:32:00 +0100 Subject: [PATCH] fix bug with sell quantity --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index 2d9fcb1a..efdee52a 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -643,7 +643,7 @@ document.getElementById("addressForm").onsubmit = function (e) { const items = cart.map((item) => ({ id: item.name, quantity: item.qty, - sellQuantity: getItemSellQuantity(item.name), + sellQuantity: item.quantity, })); const request = { userId: user.username,