Files
gridpilot.gg/apps/website/app/api/auth/session/route.ts
2025-12-04 15:49:57 +01:00

11 lines
267 B
TypeScript

import { NextResponse } from 'next/server';
import { getAuthService } from '@/lib/auth';
export async function GET() {
const authService = getAuthService();
const session = await authService.getCurrentSession();
return NextResponse.json({
session,
});
}