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}`); } });