diff --git a/src/main/java/com/weatherfit/board/service/BoardService.java b/src/main/java/com/weatherfit/board/service/BoardService.java index 3859b50..34d6c18 100644 --- a/src/main/java/com/weatherfit/board/service/BoardService.java +++ b/src/main/java/com/weatherfit/board/service/BoardService.java @@ -177,7 +177,7 @@ public void patchBoard(int boardId, String boardJson, MultipartFile[] images, St .hashTag(boardUpdateDTO.getHashTag()) .build(); - BoardEntity savedBoard = boardService.insertBoard(boardEntity); + BoardEntity savedBoard = boardRepository.save(boardEntity); for (MultipartFile image : images) { String imageUrl = imageService.saveImage(image);