Skip to content

Commit

Permalink
Merge pull request #146 from PotLock/testnet
Browse files Browse the repository at this point in the history
increase max page size
  • Loading branch information
Prometheo authored Jan 5, 2025
2 parents 7c9483d + 23390e3 commit a8de5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pots/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8de5ca

Please sign in to comment.