Updated update product controller, removed isActive and added inventory

master
parent 58e9919b8b
commit 9c75c2edb1

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

Loading…
Cancel
Save