From 9f37a4764e6afc9e9b4c14e25d75489ae06ad6c4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 18:36:43 +0000 Subject: [PATCH 1/2] Initial plan From 8c1e05390a49cea71ae15c696f1897ac0450d292 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 18:39:24 +0000 Subject: [PATCH 2/2] Fix limit parameter to use undefined when not provided Co-authored-by: Mayank-glitch-cpu <85422185+Mayank-glitch-cpu@users.noreply.github.com> --- backend/src/routes/pipeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/pipeline.ts b/backend/src/routes/pipeline.ts index 5bedabf..a683479 100644 --- a/backend/src/routes/pipeline.ts +++ b/backend/src/routes/pipeline.ts @@ -89,7 +89,7 @@ export async function pipelineRoutes(app: FastifyInstance): Promise { const limitVal = parseInt(request.query.limit || '', 10); const publishedWithinHoursVal = parseInt(request.query.publishedWithinHours || '', 10); const range = !isNaN(fromVal) && !isNaN(toVal) ? { from: fromVal, to: toVal } : undefined; - const limit = !isNaN(limitVal) ? limitVal : 10; + const limit = !isNaN(limitVal) ? limitVal : undefined; const companies = parseCommaList(request.query.companies).map((slug) => slug.toLowerCase()); const keywords = parseCommaList(request.query.keywords).map((keyword) => keyword.toLowerCase());