diff --git a/src/app/api/players/search/route.ts b/src/app/api/players/search/route.ts index e709f66..181745e 100644 --- a/src/app/api/players/search/route.ts +++ b/src/app/api/players/search/route.ts @@ -15,6 +15,7 @@ export async function GET(request: NextRequest) { where: { name: { contains: query, + mode: "insensitive", }, }, orderBy: { name: "asc" },