From 6d874e72e269b9a019cfea705fa896c7ca071853 Mon Sep 17 00:00:00 2001 From: DongHyeok Lim Date: Wed, 22 Nov 2023 13:37:02 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20status-validation=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 모집 중, 모집 마감, 종료로 한글만 받기 때문에 대문자가 필요 없습니다. --- app/backend/src/mogaco/pipes/mogaco-status-validation.pipe.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/backend/src/mogaco/pipes/mogaco-status-validation.pipe.ts b/app/backend/src/mogaco/pipes/mogaco-status-validation.pipe.ts index d65801355..3f64f7f25 100644 --- a/app/backend/src/mogaco/pipes/mogaco-status-validation.pipe.ts +++ b/app/backend/src/mogaco/pipes/mogaco-status-validation.pipe.ts @@ -5,8 +5,6 @@ export class MogacoStatusValidationPipe implements PipeTransform { readonly StatusOptions = [MogacoStatus.RECRUITING, MogacoStatus.CLOSED, MogacoStatus.COMPLETED]; transform(value: any) { - value = value.toUpperCase(); - if (!this.isStatusValid(value)) { throw new BadRequestException(`${value} isn't in the status options`); }