Skip to content

Commit

Permalink
refactor: (##) contentImages required 속성을 false로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdtls690 committed Aug 2, 2023
1 parent 0439fd2 commit 75fd19d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class PostController {
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public ResponseEntity<Void> save(
@RequestPart(name = "request") @Valid final PostCreateRequest request,
@RequestPart(name = "contentImages") final List<MultipartFile> contentImages,
@RequestPart(name = "contentImages", required = false) final List<MultipartFile> contentImages,
@RequestPart(name = "optionImages") final List<MultipartFile> optionImages,
@Auth final Member loginMember
) {
Expand Down

0 comments on commit 75fd19d

Please sign in to comment.