diff --git a/src/main/java/com/realWriting/note/adapter/in/web/NoteController.java b/src/main/java/com/realWriting/note/adapter/in/web/NoteController.java index 1ea53a4..96e5be7 100644 --- a/src/main/java/com/realWriting/note/adapter/in/web/NoteController.java +++ b/src/main/java/com/realWriting/note/adapter/in/web/NoteController.java @@ -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 files) { NoteRes.ContentRes output = noteService.updateNote(noteId, input.toReq(files)); return SuccessResponse.toResponseEntity(NOTE_UPDATE_SUCCESS, output);