Skip to content

Commit 4b2a5f3

Browse files
committed
fixed another bug
1 parent 857fb75 commit 4b2a5f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js_npm/rest/scs/src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ app.get("/api/title/:sex/:title", (req, res) => {
103103

104104
app.get("/api/pat/:txt", (req, res) => {
105105

106-
const txt = rep.params.txt;
106+
const txt = req.params.txt;
107107

108108
res.json(regex(txt));
109109
});

0 commit comments

Comments
 (0)