Merge branch 'Be/Board' into 'backend'

refactor : board name 출력 변경

See merge request s11-webmobile1-sub2/S11P12A701!70
This commit is contained in:
박정민 2024-08-06 16:48:56 +09:00
commit cc15074d9a
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ public class Board {
return ResponseBoardSummaryDto.builder()
.id(id)
.title(title)
.name(user.getUserId())
.name(user.getName())
.createdAt(createdAt)
.build();
}

View File

@ -42,7 +42,7 @@ public class Comment {
public ResponseCommentDto makeCommentDto() {
return ResponseCommentDto.builder()
.id(id)
.name(user.getEmail())
.name(user.getName())
.content(content)
.createAt(createdAt)
.modifiedAt(modifiedAt)