This commit is contained in:
Sibunnayak 2024-10-11 10:20:49 +05:30
parent 632d05f656
commit ab65a0b3c0

View File

@ -19,7 +19,7 @@ export const addInventory = async (req, res) => {
const rdStock = await RDStock.findOne({ userId: addedForId });
if (!rdStock) {
return res
.status(404)
.status(400)
.json({ error: "Stock not available for the RetailDistributor" });
}