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,