File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
backend/src/quiz-zone/dto Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class CreateQuizZoneDto {
2424
2525 @IsInt ( { message : '최대 플레이어 수가 없습니다.' } )
2626 @Min ( 1 , { message : '최소 1명 이상이어야 합니다.' } )
27- // @Max (300, { message: '최대 300명까지 가능합니다.' })
27+ @Max ( 300 , { message : '최대 300명까지 가능합니다.' } )
2828 readonly limitPlayerCount : number ;
2929
3030 @IsNotEmpty ( { message : '퀴즈존을 선택해주세요.' } )
Original file line number Diff line number Diff line change @@ -44,5 +44,5 @@ export const validateQuizZoneSetCode = (code: string) => {
4444//입장 인원 제한 유효성 검사
4545export const validateQuizZoneSetLimit = ( limit : number ) => {
4646 if ( limit < 1 ) return '최소 1명 이상 지정해주세요.' ;
47- // if (limit > 300) return '최대 인원은 300명입니다.';
47+ if ( limit > 300 ) return '최대 인원은 300명입니다.' ;
4848} ;
You can’t perform that action at this time.
0 commit comments