Skip to content

Commit

Permalink
createDate
Browse files Browse the repository at this point in the history
  • Loading branch information
papicc45 committed Apr 6, 2024
1 parent 0493743 commit c7c4289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/example/board/dto/BoardSearchDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class BoardSearchDTO {
private ImageDTO images;
private List<String> category;
private List<String> hashTag;
private LocalDateTime createData;
private LocalDateTime createDate;
private List<LikeDTO> likelist;
private String weatherIcon;
}
2 changes: 1 addition & 1 deletion src/main/java/com/example/board/service/BoardService.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public List<BoardSearchDTO> search(List<String> categories, List<String> hashTag
.category(board.getCategory())
.temperature(board.getTemperature())
.hashTag(board.getHashTag())
.createData(board.getCreateDate())
.createDate(board.getCreateDate())
.likelist(board.likeEntityToDTO(board.getLikelist()))
.likeCount(likeService.countLikes(board.getBoardId()))
.images(board.entityToDTO(board.getImages().get(0)))
Expand Down

0 comments on commit c7c4289

Please sign in to comment.