From dedc756dde5b2fb189ee8b1f90c7b60f601f63ee Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Sun, 28 Jun 2026 21:34:14 +0800 Subject: [PATCH] fix(api): remove settingsJson IS NOT NULL filter so entries without in-game settings show up --- apps/web/lib/api/games-performance.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/lib/api/games-performance.ts b/apps/web/lib/api/games-performance.ts index e3304b9..e1e9a8b 100644 --- a/apps/web/lib/api/games-performance.ts +++ b/apps/web/lib/api/games-performance.ts @@ -8,7 +8,7 @@ import { gamePlatformSupport, entryScreenshots, } from "@/lib/db/schema" -import { and, desc, eq, sql } from "drizzle-orm" +import { and, desc, eq } from "drizzle-orm" import { getR2PublicUrl } from "@/lib/storage" /** @@ -86,7 +86,6 @@ export const gamesPerformanceRoutes = new Elysia({ and( eq(gameVersions.gameId, gameId), eq(performanceEntries.isRemoved, false), - sql`${performanceEntries.settingsJson} IS NOT NULL`, ), ) .orderBy(