8 lines
373 B
TypeScript
8 lines
373 B
TypeScript
import type { NextRequest } from 'next/server';
|
|
import { authorizeLearningRuntime, runtimeUnauthorized } from '@/lib/makelore-runtime/auth';
|
|
|
|
export async function POST(request: NextRequest) {
|
|
if (!authorizeLearningRuntime(request)) return runtimeUnauthorized();
|
|
return Response.json({ status: 'not_supported', message: 'The current turn finishes independently.' });
|
|
}
|