added product details quick view page

This commit is contained in:
2026-06-03 23:47:01 +02:00
parent ecfb309dab
commit 2a7f411834
2 changed files with 312 additions and 4 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ router.get("/all-products", authenticate, async (req, res) => {
}
});
router.get("/view", authenticate, async (req, res) => {
router.get("/view", async (req, res) => {
const uuid = req.query.uuid;
const result = await productDetails(uuid);
@@ -123,7 +123,7 @@ router.put("/mutate/set-amount", authenticate, async (req, res) => {
}
});
router.post("/mutate/update-item", authenticate, async (req, res) => {
router.post("/mutate/update-item", async (req, res) => {
const itemUUID = req.query.item;
const newValues = req.body;