refactor : board name 출력 변경
This commit is contained in:
parent
a14ba8b04b
commit
a4b3bab290
@ -62,7 +62,7 @@ public class Board {
|
|||||||
return ResponseBoardSummaryDto.builder()
|
return ResponseBoardSummaryDto.builder()
|
||||||
.id(id)
|
.id(id)
|
||||||
.title(title)
|
.title(title)
|
||||||
.name(user.getUserId())
|
.name(user.getName())
|
||||||
.createdAt(createdAt)
|
.createdAt(createdAt)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ public class Comment {
|
|||||||
public ResponseCommentDto makeCommentDto() {
|
public ResponseCommentDto makeCommentDto() {
|
||||||
return ResponseCommentDto.builder()
|
return ResponseCommentDto.builder()
|
||||||
.id(id)
|
.id(id)
|
||||||
.name(user.getEmail())
|
.name(user.getName())
|
||||||
.content(content)
|
.content(content)
|
||||||
.createAt(createdAt)
|
.createAt(createdAt)
|
||||||
.modifiedAt(modifiedAt)
|
.modifiedAt(modifiedAt)
|
||||||
|
Loading…
Reference in New Issue
Block a user