diff --git a/public/temp/tmp-1-1725006243826 b/public/temp/tmp-1-1725006243826 new file mode 100644 index 0000000..11d72e6 Binary files /dev/null and b/public/temp/tmp-1-1725006243826 differ diff --git a/public/temp/tmp-2-1725006297945 b/public/temp/tmp-2-1725006297945 new file mode 100644 index 0000000..887c81f Binary files /dev/null and b/public/temp/tmp-2-1725006297945 differ diff --git a/public/temp/tmp-3-1725006333870 b/public/temp/tmp-3-1725006333870 new file mode 100644 index 0000000..9d94c39 Binary files /dev/null and b/public/temp/tmp-3-1725006333870 differ diff --git a/public/temp/tmp-4-1725006454741 b/public/temp/tmp-4-1725006454741 new file mode 100644 index 0000000..9d94c39 Binary files /dev/null and b/public/temp/tmp-4-1725006454741 differ diff --git a/public/temp/tmp-5-1725006486479 b/public/temp/tmp-5-1725006486479 new file mode 100644 index 0000000..d0190ce Binary files /dev/null and b/public/temp/tmp-5-1725006486479 differ diff --git a/public/temp/tmp-6-1725006529054 b/public/temp/tmp-6-1725006529054 new file mode 100644 index 0000000..d0190ce Binary files /dev/null and b/public/temp/tmp-6-1725006529054 differ diff --git a/resources/Inventory/InventoryController.js b/resources/Inventory/InventoryController.js index bc13496..9c3b93f 100644 --- a/resources/Inventory/InventoryController.js +++ b/resources/Inventory/InventoryController.js @@ -11,7 +11,7 @@ export const addInventory = async (req, res) => { const { products, addedFor, addedForId } = req.body; const userId = req.user._id; const userType = req.userType; - console.log("req.user", req.user); + // console.log("req.user", req.user); const currentYear = new Date().getFullYear().toString().slice(-2); const randomChars = crypto.randomBytes(4).toString("hex").toUpperCase(); const uniqueId = `${currentYear}-${randomChars}`;