From c2182dd64f4b0208ec80de9fb15b35a6555dfc96 Mon Sep 17 00:00:00 2001 From: koreaioi Date: Mon, 15 Jul 2024 10:13:40 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20review=20porint=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/hamsung/hamsung_project/dto/MyPageUserDto.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/hamsung/hamsung_project/dto/MyPageUserDto.java b/src/main/java/hamsung/hamsung_project/dto/MyPageUserDto.java index e3c1858..c9fcc2b 100644 --- a/src/main/java/hamsung/hamsung_project/dto/MyPageUserDto.java +++ b/src/main/java/hamsung/hamsung_project/dto/MyPageUserDto.java @@ -22,7 +22,7 @@ public class MyPageUserDto { public MyPageUserDto(User user, Review review) { this.username = user.getUsername(); this.email = user.getEmail(); - this.point = user.getPoint(); + this.point = review.getPoint(); this.imaged_num = user.getImaged_num(); this.badge = user.getBadge(); this.reviewResponseDto = ReviewResponseDto.of(review);