fix bug with sell quantity

This commit is contained in:
ZareMate 2025-12-30 18:32:00 +01:00
parent 5e2ec81d0c
commit 81acf736b1

View File

@ -643,7 +643,7 @@ document.getElementById("addressForm").onsubmit = function (e) {
const items = cart.map((item) => ({ const items = cart.map((item) => ({
id: item.name, id: item.name,
quantity: item.qty, quantity: item.qty,
sellQuantity: getItemSellQuantity(item.name), sellQuantity: item.quantity,
})); }));
const request = { const request = {
userId: user.username, userId: user.username,