diff --git a/src/app/api/questions/route.ts b/src/app/api/questions/route.ts index 361f075..acc2074 100644 --- a/src/app/api/questions/route.ts +++ b/src/app/api/questions/route.ts @@ -1,7 +1,7 @@ -import { NextRequest, NextResponse } from 'next/server'; +import { NextResponse } from 'next/server'; import { TQuestionHandlerProps } from '@/types'; -export async function GET(req: NextRequest) { +export async function GET() { try { const response = await fetch(`${process.env.API_URL}/generate_questions`, { method: 'POST',