From c5704c723946dcb29ce07ad97728479ef12d9c82 Mon Sep 17 00:00:00 2001
From: Pierre Ecarlat <pecarlat@grandlyon.com>
Date: Mon, 24 Feb 2025 08:19:09 +0000
Subject: [PATCH] feat: Allow to download all consents

---
 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