From 23390e32739f7912102605bd2a6d4e9c8816ab30 Mon Sep 17 00:00:00 2001 From: Boluwatife Popoola Date: Sun, 5 Jan 2025 14:47:56 +0100 Subject: [PATCH] increase max page size --- pots/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pots/api.py b/pots/api.py index 8a9f145..2d90ac7 100644 --- a/pots/api.py +++ b/pots/api.py @@ -435,7 +435,7 @@ def get_all_voters(self, query_params): try: page = max(int(query_params.get('page', 1)), 1) - page_size = min(int(query_params.get('page_size', self.DEFAULT_PAGE_SIZE)), 100) + page_size = min(int(query_params.get('page_size', self.DEFAULT_PAGE_SIZE)), 170) except ValueError: page = 1 page_size = self.DEFAULT_PAGE_SIZE