From 6f5ee7b36dc9321ccabc994ba7f18c8673258c42 Mon Sep 17 00:00:00 2001 From: SNXWXH Date: Sat, 27 Jul 2024 22:40:25 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20build=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/questions/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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',