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/workflow/action/route.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/api/sync/workflow/action/route.ts') diff --git a/app/api/sync/workflow/action/route.ts b/app/api/sync/workflow/action/route.ts index b6b1a94f..8e311c86 100644 --- a/app/api/sync/workflow/action/route.ts +++ b/app/api/sync/workflow/action/route.ts @@ -12,9 +12,9 @@ export async function POST(request: NextRequest) { } const body = await request.json() - const { contractId, targetSystem = 'SWP', action, documents } = body + const { projectId, targetSystem = 'SWP', action, documents } = body - if (!contractId || !action) { + if (!projectId || !action) { return NextResponse.json( { error: 'Contract ID and action are required' }, { status: 400 } @@ -22,7 +22,7 @@ export async function POST(request: NextRequest) { } const result = await workflowService.executeWorkflowAction( - contractId, + projectId, targetSystem, action, documents || [], -- cgit v1.2.3