diff --git a/README.md b/README.md index a4c6ead..9ffb74b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ npm install nestjs-paginate ## Usage -### Example example +### Example The following code exposes a route that can be utilized like so: @@ -71,9 +71,9 @@ http://localhost:3000/cats?limit=10&page=2&sortBy=createdAt:DESC&sortBy=color:AS }, "links": { "first": "http://localhost:3000/cats?limit=2&page=1&sortBy=color:DESC", - "previous": "http://localhost:3000/cats?&limit=2&page=1&sortBy=color:DESC", - "next": "http://localhost:3000/cats?&limit=2&page=3&sortBy=color:DESC", - "last": "http://localhost:3000/cats?&limit=2&page=3&sortBy=color:DESC" + "previous": "http://localhost:3000/cats?limit=2&page=1&sortBy=color:DESC", + "next": "http://localhost:3000/cats?limit=2&page=3&sortBy=color:DESC", + "last": "http://localhost:3000/cats?limit=2&page=3&sortBy=color:DESC" } } ```