From e8c1a5e59b4f5be226e50aced4898a2371aacf9b Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 7 Feb 2026 22:00:04 -0600 Subject: [PATCH] correction of max_limit --- src/routes/commentary.route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/commentary.route.js b/src/routes/commentary.route.js index c0fc17f..e2827ce 100644 --- a/src/routes/commentary.route.js +++ b/src/routes/commentary.route.js @@ -31,7 +31,7 @@ comRouter.get("/", async (req, res) => { try { const { id: matchId } = paramsResult.data; - const { limit = 10 } = queryResult.data; + const { limit = MAX_LIMIT } = queryResult.data; const safeLimit = Math.min(limit, MAX_LIMIT); const results = await db