From 9e02cdff7b752cd7fa8ff6e15d2f1554ff16b1e0 Mon Sep 17 00:00:00 2001 From: Pierre Ecarlat <pecarlat@grandlyon.com> Date: Wed, 12 Feb 2025 16:11:31 +0100 Subject: [PATCH] remove search 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