Skip to content

Commit

Permalink
Merge pull request #13 from dalindev/chore/increase-page-limit
Browse files Browse the repository at this point in the history
Increase page limit
  • Loading branch information
dalindev authored Oct 30, 2023
2 parents 681b7ab + 2b69ae0 commit b15b54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/pxm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const getCatalogProducts = async ({
// TODO: type?
// EpCollectionResponse<EpProductInterface[]>
const products: any = await axios.get(
`${EP_HOST}/pcm/catalog/products?filter=${filterUrl}&include=main_image`,
`${EP_HOST}/pcm/catalog/products?filter=${filterUrl}&page[limit]=100&include=main_image`,
{
headers: {
...(catalogTag && { "EP-Context-Tag": catalogTag }),
Expand Down

0 comments on commit b15b54d

Please sign in to comment.