Fix readme typos
This commit is contained in:
parent
4ec9e0916b
commit
28340fb5b9
@ -21,7 +21,7 @@ npm install nestjs-paginate
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Example example
|
### Example
|
||||||
|
|
||||||
The following code exposes a route that can be utilized like so:
|
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": {
|
"links": {
|
||||||
"first": "http://localhost:3000/cats?limit=2&page=1&sortBy=color:DESC",
|
"first": "http://localhost:3000/cats?limit=2&page=1&sortBy=color:DESC",
|
||||||
"previous": "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",
|
"next": "http://localhost:3000/cats?limit=2&page=3&sortBy=color:DESC",
|
||||||
"last": "http://localhost:3000/cats?&limit=2&page=3&sortBy=color:DESC"
|
"last": "http://localhost:3000/cats?limit=2&page=3&sortBy=color:DESC"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user