diff --git a/src/app/api/search/route.tsx b/src/app/api/search/route.tsx index 95f333f..a66edef 100644 --- a/src/app/api/search/route.tsx +++ b/src/app/api/search/route.tsx @@ -19,6 +19,7 @@ export async function GET(request: NextRequest) { const results = await xata.db.Books.search(searchParams, { target: ["title"], fuzziness: 0, + page: { size: 50, offset: 0 }, }); return NextResponse.json(results);