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