Skip to content

Commit

Permalink
10 is not a size
Browse files Browse the repository at this point in the history
  • Loading branch information
diversen7 committed Oct 15, 2024
1 parent 415891d commit bb6e9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stadsarkiv_client/endpoints/endpoints_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_size_sort_view(request: Request):
"""
size = request.query_params.get("size", request.cookies.get("size", "20"))

accept_size = ["10", "20", "50", "100"]
accept_size = ["20", "50", "100"]
if size not in accept_size:
size = "20"

Expand Down

0 comments on commit bb6e9a3

Please sign in to comment.