mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-28 02:14:13 +00:00
wip (#449)
This commit is contained in:
1 parent
b708f7beb6
commit
cd6772c10f
1 file changed
+1
-1
@@ -229,7 +229,7 @@ const updateQuantities = async(req, res) => {
|
||||
const obj = {
|
||||
quantity: product.quantity,
|
||||
};
|
||||
return Object.assign(obj, existingItem ? {id: existingItem.id} : {price_id: product.price_id});
|
||||
return Object.assign(obj, existingItem ? {id: existingItem.id} : {price: product.price_id});
|
||||
});
|
||||
|
||||
if (dry_run) {
|
||||
|
||||
Reference in new issue
Block a user