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/trigger/route.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/api/sync/trigger') diff --git a/app/api/sync/trigger/route.ts b/app/api/sync/trigger/route.ts index 3393365d..3fe58849 100644 --- a/app/api/sync/trigger/route.ts +++ b/app/api/sync/trigger/route.ts @@ -13,9 +13,9 @@ export async function POST(request: NextRequest) { } const body = await request.json() - const { contractId, targetSystem = 'SHI' } = body + const { projectId, targetSystem = 'SHI' } = body - if (!contractId) { + if (!projectId) { return NextResponse.json( { error: 'Contract ID is required' }, { status: 400 } @@ -23,7 +23,7 @@ export async function POST(request: NextRequest) { } const result = await syncService.syncToExternalSystem( - contractId, + projectId, targetSystem, true // manual trigger ) -- cgit v1.2.3