From 8292b5ba131ee4e53b48245d5b542641a1c46fa8 Mon Sep 17 00:00:00 2001 From: marcobottaro <39835990+marcobottaro@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:48:14 +0200 Subject: [PATCH] [DEV-1965] Fix Strapi defaultLimit and maxLimit configurations (#1185) * Fix Strapi defaultLimit and maxLimit configurations * Add changeset --- .changeset/few-dots-breathe.md | 5 +++++ apps/strapi-cms/config/api.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/few-dots-breathe.md diff --git a/.changeset/few-dots-breathe.md b/.changeset/few-dots-breathe.md new file mode 100644 index 0000000000..dcae150df6 --- /dev/null +++ b/.changeset/few-dots-breathe.md @@ -0,0 +1,5 @@ +--- +"strapi-cms": patch +--- + +Fix Strapi defaultLimit and maxLimit configurations diff --git a/apps/strapi-cms/config/api.ts b/apps/strapi-cms/config/api.ts index 37f7c14a42..11af22434e 100644 --- a/apps/strapi-cms/config/api.ts +++ b/apps/strapi-cms/config/api.ts @@ -1,7 +1,7 @@ export default { rest: { - defaultLimit: 25, - maxLimit: 100, + defaultLimit: 100, + maxLimit: 250, withCount: true, }, };