Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
2026-07-11 20:37:56 +02:00
parent 4a1e1115b3
commit 4d515bc400
338 changed files with 5949 additions and 28144 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ 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 });