Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /** * GET /api/admin/characters * * Returns a list of all registered characters with summary data. */ import { NextResponse } from 'next/server' import { getAllCharacterSummaries } from '@/lib/character/characters' export async function GET() { const characters = getAllCharacterSummaries() return NextResponse.json({ characters }) } |