We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa0659 commit 73aeee4Copy full SHA for 73aeee4
src/main/java/com/somemore/review/dto/response/ReviewResponseDto.java
@@ -25,7 +25,7 @@ public record ReviewResponseDto(
25
@Schema(description = "작성 일자", example = "2024-12-01T09:00:00", type = "string")
26
LocalDateTime createdAt,
27
@Schema(description = "수정 일자", example = "2024-12-01T09:00:00", type = "string")
28
- LocalDateTime updateAt
+ LocalDateTime updatedAt
29
) {
30
31
public static ReviewResponseDto from(Review review) {
@@ -35,6 +35,8 @@ public static ReviewResponseDto from(Review review) {
35
.title(review.getTitle())
36
.content(review.getContent())
37
.imgUrl(review.getImgUrl())
38
+ .createdAt(review.getCreatedAt())
39
+ .updatedAt(review.getUpdatedAt())
40
.build();
41
}
42
0 commit comments