Raise maximum on track page limit
This commit is contained in:
parent
84ab957aa0
commit
6c458a43f6
|
@ -24,7 +24,7 @@ def normalize_user_agent(user_agent):
|
||||||
|
|
||||||
|
|
||||||
async def _return_tracks(req, extend_query, limit, offset):
|
async def _return_tracks(req, extend_query, limit, offset):
|
||||||
if limit <= 0 or limit > 100:
|
if limit <= 0 or limit > 1000:
|
||||||
raise InvalidUsage("invalid limit")
|
raise InvalidUsage("invalid limit")
|
||||||
|
|
||||||
if offset < 0:
|
if offset < 0:
|
||||||
|
|
Loading…
Reference in a new issue