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(