Skip to content

Commit

Permalink
fix(doc): fix the demo urls of paginations
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar60310 committed Oct 19, 2022
1 parent ae8fb44 commit 7e67ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/doc/docs/api-building/pagination/offset.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ profiles:
We'd add two parameters to your API: `offset` and `limit`.
![api document of offset pagination](./img/offset-parameters.png)

- To fetch the first 10 rows: `/api/path?limit=10`
- To fetch the 11th ~ 20th rows: `/api/path?limit=10&offset=10`
- To fetch the first 10 rows: `/api/customers?limit=10`
- To fetch the 11th ~ 20th rows: `/api/customers?limit=10&offset=10`

0 comments on commit 7e67ce5

Please sign in to comment.