From 3c3472993c0641c9d68edb2005d47b6dc9480a5b Mon Sep 17 00:00:00 2001 From: Praveen Kumar Purushothaman Date: Mon, 7 Nov 2022 21:58:15 +0000 Subject: [PATCH] Fixing the case. --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index aaf1b72..096e190 100644 --- a/src/app.js +++ b/src/app.js @@ -11,7 +11,7 @@ app.use("/pastes/:pasteId", (req, res, next) => { if (foundPaste) { res.json({ data: foundPaste }); } else { - next(`Paste id not found: ${PasteId}`); + next(`Paste id not found: ${pasteId}`); } });