Updated update product controller, removed isActive and added inventory

master
parent 58e9919b8b
commit 9c75c2edb1

@ -98,7 +98,6 @@ exports.updateProduct = async (req, res) => {
name, name,
price, price,
description, description,
isActive,
inventory, inventory,
}, { new: true }); }, { new: true });

Loading…
Cancel
Save