Skip to content

Commit

Permalink
[FIX] 커뮤니티 게시글 상세 조회 Dto 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyojin425 committed Aug 18, 2024
1 parent 9c9344c commit a5e029d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static PostDto.PostViewDto toViewDto(Post post, int likes, int scraps, in

return PostDto.PostViewDto.builder()
.id(post.getId())
//.imageUrl(post.getImageUrl())
.profileImageUrl(post.getMember().getProfileImage())
.title(post.getTitle())
.body(post.getBody())
.bodyPart(post.getBodyPart().toString())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static class PostResponseDto {
@Builder
public static class PostViewDto {
private Long id;
//private String imageUrl;
private String profileImageUrl;
private String title;
private String body;
private String authorEmail;
Expand Down

0 comments on commit a5e029d

Please sign in to comment.