Skip to content

Commit

Permalink
FIX MessagePaginationDto에 pageSize 디폴트값 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj9109 committed Dec 16, 2023
1 parent 5280422 commit eb1180b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/backend/src/channel/dto/message-pagination.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export class MessagePaginationDto {
@ApiProperty({
description: '페이지당 메시지 수',
required: false,
default: 10,
example: 10,
})
@Type(() => Number)
@IsOptional()
@IsInt()
@Min(1)
pageSize: number = 10;
pageSize?: number;
}

0 comments on commit eb1180b

Please sign in to comment.