mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
11 lines
336 B
TypeScript
11 lines
336 B
TypeScript
import { Region } from '@blitzkit/core';
|
|
import { NextResponse } from 'next/server';
|
|
import getRatingInfo from '../../../../../../../website/src/core/blitz/getRatingInfo';
|
|
|
|
export async function GET(
|
|
request: Request,
|
|
{ params }: { params: { region: Region } },
|
|
) {
|
|
return NextResponse.json(await getRatingInfo(params.region));
|
|
}
|