From 92eda21e45d902663052575aaa4c4f80bfa2faea Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 4 Aug 2025 09:36:14 +0000 Subject: (대표님) 벤더 문서 변경사항, data-table 변경, sync 변경 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/sync/batches/route.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/api/sync/batches') diff --git a/app/api/sync/batches/route.ts b/app/api/sync/batches/route.ts index a1ef8d26..7a72530d 100644 --- a/app/api/sync/batches/route.ts +++ b/app/api/sync/batches/route.ts @@ -4,11 +4,11 @@ import { NextRequest, NextResponse } from "next/server" export async function GET(request: NextRequest) { try { const { searchParams } = new URL(request.url) - const contractId = searchParams.get('contractId') + const projectId = searchParams.get('projectId') const targetSystem = searchParams.get('targetSystem') || 'SHI' const limit = parseInt(searchParams.get('limit') || '10') - if (!contractId) { + if (!projectId) { return NextResponse.json( { error: 'Contract ID is required' }, { status: 400 } @@ -16,7 +16,7 @@ export async function GET(request: NextRequest) { } const batches = await syncService.getRecentSyncBatches( - parseInt(contractId), + parseInt(projectId), targetSystem, limit ) -- cgit v1.2.3