From 12d390b1c8373f34a476e1dfc6613e9dcf07e059 Mon Sep 17 00:00:00 2001 From: jhbkjh Date: Fri, 31 Oct 2025 15:10:09 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=B9=EC=B2=A8=EC=9E=90=20=EC=B6=94?= =?UTF-8?q?=EC=B2=A8=20=EC=9D=B8=EC=A6=9D=ED=86=A0=ED=81=B0=20=EA=B2=80?= =?UTF-8?q?=EC=A6=9D=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/participations/[eventId]/draw-winners/route.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/app/api/participations/[eventId]/draw-winners/route.ts b/src/app/api/participations/[eventId]/draw-winners/route.ts index a2e09d3..41cb772 100644 --- a/src/app/api/participations/[eventId]/draw-winners/route.ts +++ b/src/app/api/participations/[eventId]/draw-winners/route.ts @@ -8,29 +8,19 @@ export async function POST( ) { try { const { eventId } = params; - const token = request.headers.get('Authorization'); const body = await request.json(); console.log('🎰 [Proxy] Draw winners request:', { eventId, - hasToken: !!token, timestamp: new Date().toISOString(), }); - if (!token) { - return NextResponse.json( - { message: '인증 토큰이 ν•„μš”ν•©λ‹ˆλ‹€.' }, - { status: 401 } - ); - } - const response = await fetch( `${GATEWAY_HOST}/api/v1/participations/events/${eventId}/draw-winners`, { method: 'POST', headers: { 'Content-Type': 'application/json', - Authorization: token, }, body: JSON.stringify(body), }