diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-04 09:36:14 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-04 09:36:14 +0000 |
| commit | 92eda21e45d902663052575aaa4c4f80bfa2faea (patch) | |
| tree | 8483702edf82932d4359a597a854fa8e1b48e94b /app/api/sync/trigger/route.ts | |
| parent | f0213de0d2fb5fcb931b3ddaddcbb6581cab5d28 (diff) | |
(대표님) 벤더 문서 변경사항, data-table 변경, sync 변경
Diffstat (limited to 'app/api/sync/trigger/route.ts')
| -rw-r--r-- | app/api/sync/trigger/route.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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 ) |
