Fix readme typos

This commit is contained in:
ppetzold 2020-06-26 23:39:18 +02:00
parent 4ec9e0916b
commit 28340fb5b9

View File

@ -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"
}
}
```