summaryrefslogtreecommitdiff
path: root/app/api/sync/workflow/action/route.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-08-04 09:36:14 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-08-04 09:36:14 +0000
commit92eda21e45d902663052575aaa4c4f80bfa2faea (patch)
tree8483702edf82932d4359a597a854fa8e1b48e94b /app/api/sync/workflow/action/route.ts
parentf0213de0d2fb5fcb931b3ddaddcbb6581cab5d28 (diff)
(대표님) 벤더 문서 변경사항, data-table 변경, sync 변경
Diffstat (limited to 'app/api/sync/workflow/action/route.ts')
-rw-r--r--app/api/sync/workflow/action/route.ts6
1 files changed, 3 insertions, 3 deletions
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 || [],