From 71beae8e245dbdec35fec7048fd82ae391d9e588 Mon Sep 17 00:00:00 2001 From: dohyeons Date: Tue, 28 Oct 2025 13:42:23 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend-node/src/services/batchService.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend-node/src/services/batchService.ts b/backend-node/src/services/batchService.ts index 07cdd61c..247b1ab8 100644 --- a/backend-node/src/services/batchService.ts +++ b/backend-node/src/services/batchService.ts @@ -449,7 +449,10 @@ export class BatchService { // 기존 배치 설정 확인 (회사 권한 체크 포함) const existing = await this.getBatchConfigById(id, userCompanyCode); if (!existing.success) { - return existing as ApiResponse; + return { + success: false, + message: existing.message, + }; } const existingConfig = await queryOne(