Reapply "Add missing admin action files and navigation links"

This reverts commit 4d515bc400.
This commit is contained in:
2026-07-11 20:52:56 +02:00
parent 96ed768f14
commit 5b4228261a
338 changed files with 28143 additions and 5948 deletions
+1 -3
View File
@@ -11,9 +11,7 @@ export const dynamic = "force-dynamic";
export async function GET(_req: Request) {
try {
const count = await cached("online_count", 10_000, () =>
prisma.user.count({ where: { online: "1" } }),
);
const count = await cached("online_count", 10_000, () => prisma.user.count({ where: { online: "1" } }));
return apiJson({ count });
} catch {
return apiJson({ count: 0 });