From dab7e262b01dd3b3b992b2ae55f5a9b3f9a75fc9 Mon Sep 17 00:00:00 2001 From: Kyungrim Park Date: Sat, 11 Nov 2023 20:36:51 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=85=B8=ED=8A=B8=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20-=20=EC=82=AC=EC=A7=84=20=EC=B2=A8=EB=B6=80=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/realWriting/note/adapter/in/web/NoteController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);