Reapply "Add missing admin action files and navigation links"

This reverts commit 4d515bc400.
This commit is contained in:
Simo committed 2026-07-11 20:52:56 +02:00
1 parent 96ed768f14
commit 5b4228261a
338 files changed
+28143 -5948

No files matched your search

+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 });