From 84bcbe517963fce6930e37ff58900a8e1344ec82 Mon Sep 17 00:00:00 2001 From: kamaal Date: Fri, 19 Sep 2025 18:33:26 -0700 Subject: [PATCH] first comment1 --- routes/tasks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/tasks.js b/routes/tasks.js index cedda1d..00c0f37 100644 --- a/routes/tasks.js +++ b/routes/tasks.js @@ -33,6 +33,7 @@ router.get("/tasks", async (req, res) => { // GET /api/tasks/:id - Get task by ID // :id is a route parameter - it captures the value from the URL // Example: /api/tasks/1 will set req.params.id = "1" +//comment1 router.get("/tasks/:id", async (req, res) => { try { const { id } = req.params; // Extract the ID from the URL