parent
e81a50aa9a
commit
d55ab78fbe
2 changed files with 15 additions and 1 deletions
|
@ -43,7 +43,7 @@ class ListRepositoryTags(RepositoryParamResource):
|
|||
|
||||
specific_tag = args.get('specificTag') or None
|
||||
|
||||
page = min(1, args.get('start', 1))
|
||||
page = max(1, args.get('page', 1))
|
||||
limit = min(100, max(1, args.get('limit', 50)))
|
||||
|
||||
# Note: We ask for limit+1 here, so we can check to see if there are
|
||||
|
|
Reference in a new issue