From 6c458a43f666f4bdd546b85a77c63e2c3123e11b Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Fri, 16 Sep 2022 11:48:05 +0200 Subject: [PATCH] Raise maximum on track page limit --- api/obs/api/routes/tracks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/obs/api/routes/tracks.py b/api/obs/api/routes/tracks.py index 8ae1c6a..28f4097 100644 --- a/api/obs/api/routes/tracks.py +++ b/api/obs/api/routes/tracks.py @@ -24,7 +24,7 @@ def normalize_user_agent(user_agent): 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") if offset < 0: