Skip to content

Commit 40de237

Browse files
committed
feat: product api added
1 parent 42385e3 commit 40de237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/routes/product.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010

1111
const router = Router();
1212

13-
// CRUD routes (protected)
1413
// router.post("/", verifyAuth, createProduct);
1514
router.post("/", createProduct);
1615
router.get("/", getProducts);
@@ -21,3 +20,4 @@ router.put("/:id", updateProduct);
2120
router.delete("/:id", deleteProduct);
2221

2322
export default router;
23+

0 commit comments

Comments
 (0)