V1 bingo
Deploy / build-and-deploy (push) Failing after 2m53s

This commit is contained in:
2026-06-14 21:29:43 +03:00
commit 05677924b5
55 changed files with 10816 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { NextResponse } from "next/server";
import { getServerSession } from "@/lib/auth";
export async function GET() {
const session = await getServerSession();
if (!session) {
return NextResponse.json({ user: null });
}
return NextResponse.json({ user: { id: session.id, nickname: session.nickname, isAdmin: session.isAdmin } });
}