diff --git a/src/main/java/com/haedal/haedalweb/service/PostService.java b/src/main/java/com/haedal/haedalweb/service/PostService.java index 6c4a9d4..23f3682 100644 --- a/src/main/java/com/haedal/haedalweb/service/PostService.java +++ b/src/main/java/com/haedal/haedalweb/service/PostService.java @@ -171,6 +171,7 @@ public PostDTO getPost(Long postId) { .postContent(post.getContent()) .postImageUrl(s3Service.generatePreSignedGetUrl(post.getImageUrl())) .postViews(post.getViews()) + .postCreateDate(post.getCreateDate()) .postActivityStartDate(post.getActivityStartDate()) .postActivityEndDate(post.getActivityEndDate()) .userId(post.getUser().getId()) @@ -188,6 +189,7 @@ public PostDTO getPost(Long postId) { .postContent(post.getContent()) .postImageUrl(s3Service.generatePreSignedGetUrl(post.getImageUrl())) .postViews(post.getViews()) + .postCreateDate(post.getCreateDate()) .postActivityStartDate(post.getActivityStartDate()) .postActivityEndDate(post.getActivityEndDate()) .userId(post.getUser().getId())