Skip to content

Commit

Permalink
fix(#60): Dto에서 ?를 붙일 시 Service에 코드를 넘겨줄 때 오류가 생겨서 ? 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
hobiJeong committed Oct 23, 2023
1 parent 378f80c commit daf24ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chat/dto/post-chat.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class PostChatDto {
})
@IsString()
@IsOptional()
content?: string;
content: string;

@ApiProperty({
example: '1',
Expand All @@ -50,5 +50,5 @@ export class PostChatDto {
description: 'FormData. 이미지 파일',
})
@IsOptional()
imageUrl?: FormData;
imageUrl: FormData;
}

0 comments on commit daf24ec

Please sign in to comment.