Skip to content

Commit

Permalink
[DEV-1965] Fix Strapi defaultLimit and maxLimit configurations (#1185)
Browse files Browse the repository at this point in the history
* Fix Strapi defaultLimit and maxLimit configurations

* Add changeset
  • Loading branch information
marcobottaro authored Oct 8, 2024
1 parent e0e258d commit 8292b5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-dots-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"strapi-cms": patch
---

Fix Strapi defaultLimit and maxLimit configurations
4 changes: 2 additions & 2 deletions apps/strapi-cms/config/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
rest: {
defaultLimit: 25,
maxLimit: 100,
defaultLimit: 100,
maxLimit: 250,
withCount: true,
},
};

0 comments on commit 8292b5b

Please sign in to comment.