summaryrefslogtreecommitdiff
path: root/lib/swp/actions.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-10-29 16:24:28 +0900
committerjoonhoekim <26rote@gmail.com>2025-10-29 16:24:28 +0900
commitbfc26491991997b5b109af6ea6bc75a8be138e9a (patch)
tree7d96aa8ae01d43b46f42b3bb57b8b3dedd10c8cb /lib/swp/actions.ts
parent2ecdac866c19abea0b5389708fcdf5b3889c969a (diff)
(김준회) fix: SWP 업로드건 벤더 취소 기능 API 응답에 맞춰 수정
Diffstat (limited to 'lib/swp/actions.ts')
-rw-r--r--lib/swp/actions.ts12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/swp/actions.ts b/lib/swp/actions.ts
index eea8c9c2..6962884e 100644
--- a/lib/swp/actions.ts
+++ b/lib/swp/actions.ts
@@ -518,15 +518,21 @@ export async function cancelVendorUploadedFile(params: CancelUploadedFileParams)
debugLog(`[cancelVendorUploadedFile] 취소 시작`, params);
const { callSaveInBoxListCancelStatus } = await import("./api-client");
- await callSaveInBoxListCancelStatus({
+ const cancelCount = await callSaveInBoxListCancelStatus({
boxSeq: params.boxSeq,
actvSeq: params.actvSeq,
chgr: `evcp${params.userId}`,
});
- debugSuccess(`[cancelVendorUploadedFile] 취소 완료`, params);
+ debugSuccess(`[cancelVendorUploadedFile] 취소 완료`, {
+ ...params,
+ cancelCount
+ });
- return { success: true };
+ return {
+ success: true,
+ cancelCount
+ };
} catch (error) {
debugError(`[cancelVendorUploadedFile] 취소 실패`, { error });
throw new Error(