diff --git a/src/main/java/com/weatherfit/board/controller/BoardController.java b/src/main/java/com/weatherfit/board/controller/BoardController.java index 05aaca8..3922b8c 100644 --- a/src/main/java/com/weatherfit/board/controller/BoardController.java +++ b/src/main/java/com/weatherfit/board/controller/BoardController.java @@ -82,6 +82,7 @@ public BoardDetailResponseDTO detailBoard(@PathVariable int boardId) { boardDetailResponseDTO.setCategory(boardEntity.getCategory()); boardDetailResponseDTO.setHashTag(boardEntity.getHashTag()); boardDetailResponseDTO.setStatus(boardEntity.isStatus()); + boardDetailResponseDTO.setLikelist(boardEntity.getLikelist()); List imageDTOList = new ArrayList<>(); for (ImageEntity images : boardEntity.getImages()) { imageDTOList.add(images.entityToDTO(images));