Skip to content

Commit 3941f6d

Browse files
committed
fix route
1 parent 389cb30 commit 3941f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dotenv.config();
1515

1616
const app = express();
1717
//API
18-
app.get("/", (req, res) => {
18+
app.get("/books", (req, res) => {
1919
const { name, author, store, page = 1, perPage = 50 } = req.query;
2020

2121
const params = Object.entries({ name, author, store }).reduce(

0 commit comments

Comments
 (0)