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