From ed815a67bd7aada0323fe7a76e59f431f83cf96a Mon Sep 17 00:00:00 2001 From: Pierre Ecarlat <pecarlat@grandlyon.com> Date: Wed, 12 Feb 2025 15:26:51 +0000 Subject: [PATCH] feat: remove search consents limit --- internal/common/common.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/common/common.go b/internal/common/common.go index 7030f4e..d818a5f 100644 --- a/internal/common/common.go +++ b/internal/common/common.go @@ -203,12 +203,6 @@ func PageLimitFromRequest(r *http.Request) (page int, limit int, err error) { if page < 0 { page = 0 } - switch { - case limit > 100: - limit = 100 - case limit < 10: - limit = 10 - } return page, limit, nil } -- GitLab