Skip to content

Commit

Permalink
fix: get history Detail Response Dto
Browse files Browse the repository at this point in the history
  • Loading branch information
baebae02 committed Jan 24, 2024
1 parent 863fa39 commit 67ebdae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class HistoryDetailResponseDto {
private Boolean canEdit;

public static HistoryDetailResponseDto of(History history) {
return new HistoryDetailResponseDto(history.getId(), history.getMember().getUserId(),
return new HistoryDetailResponseDto(history.getId(), history.getMember().getName(),
history.getContent(), history.getPersonalCount(), history.getTotalCount(),
history.getDeadline(),
history.getCreatedAt().toLocalDate(), history.getCategoryId(),
Expand Down

0 comments on commit 67ebdae

Please sign in to comment.