Skip to content

Commit

Permalink
refactor: 수정 API의 consumes 속성 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Sep 25, 2023
1 parent 6cdbf69 commit 7d16992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public EventDetailResponse addEvent(@RequestPart @Valid final EventDetailRequest
return eventService.addEvent(request, images, LocalDate.now());
}

@PutMapping("/{eventId}")
@PutMapping(path = "/{eventId}", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
@ResponseStatus(HttpStatus.OK)
public EventDetailResponse updateEvent(@PathVariable final Long eventId,
@RequestPart @Valid final EventDetailRequest request,
Expand Down

0 comments on commit 7d16992

Please sign in to comment.