Skip to content

Commit

Permalink
feat: 노트 수정 - 사진 첨부 기능
Browse files Browse the repository at this point in the history
  • Loading branch information
g16rim committed Nov 11, 2023
1 parent a5ba58b commit dab7e26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ResponseEntity<?> getNote(@PathVariable("noteId") Long noteId) {

@PutMapping("/note/{noteId}")
public ResponseEntity<?> updateNote(@PathVariable("noteId") Long noteId,
@RequestBody NoteInput.ContentInput input,
@RequestPart(value = "input") NoteInput.ContentInput input,
@RequestPart(value = "files", required = false) List<MultipartFile> files) {
NoteRes.ContentRes output = noteService.updateNote(noteId, input.toReq(files));
return SuccessResponse.toResponseEntity(NOTE_UPDATE_SUCCESS, output);
Expand Down

0 comments on commit dab7e26

Please sign in to comment.