Skip to content

Commit

Permalink
fix : search api add temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
papicc45 committed Apr 5, 2024
1 parent 0477b82 commit 8eff01a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/example/board/service/BoardService.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ public List<BoardSearchDTO> search(List<String> categories, List<String> hashTag
.boardId(board.getBoardId())
.nickName(board.getNickName())
.category(board.getCategory())
.temperature(board.getTemperature())
.hashTag(board.getHashTag())
.likeCount(likeService.countLikes(board.getBoardId()))
.images(board.entityToDTO(board.getImages().get(0)))
Expand Down

0 comments on commit 8eff01a

Please sign in to comment.