fix: resolve all biome lint errors and type issues
CI / check (push) Successful in 30s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m26s

- Add file-level biome-ignore for noExplicitAny in prisma-facade.ts
  (intentional any for Prisma API compatibility surface)
- Fix noNonNullAssertion errors in cached-db.ts (redis null-guard fixes)
- Auto-fix formatting + organizeImports across modified files
- 0 tsc errors, 0 biome errors, 583 tests passing
This commit is contained in:
openhands committed 2026-07-31 15:15:15 +02:00
1 parent d1807ca814
commit 7f7971f578
7 files changed
+34 -37

No files matched your search

+6 -9
View File
@@ -12,15 +12,12 @@ export const dynamic = "force-dynamic";
export async function GET(_req: Request) {
try {
const users = await cached(
"online_users",
10_000,
async () =>
prisma.user.findMany({
where: { online: "1" },
select: { username: true, look: true },
take: 100,
}),
const users = await cached("online_users", 10_000, async () =>
prisma.user.findMany({
where: { online: "1" },
select: { username: true, look: true },
take: 100,
}),
);
return apiJson({ users });