Skip to content

Commit

Permalink
fix(page): don't default page value
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Nov 24, 2019
1 parent 6887fc2 commit fec1b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexd/index/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_index():
raise UserError("limit must be between 0 and 1024")

try:
page = 100 if page is None else int(page)
page = int(page) if page is not None
except ValueError as err:
raise UserError("page must be an integer")

Expand Down

0 comments on commit fec1b25

Please sign in to comment.