Skip to content

Commit

Permalink
refactor : 변수명 수정 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjKim1229 committed May 27, 2024
1 parent d742d8f commit 1e376ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ClubReviewResponse {
private final Long clubId;

@Schema(description = "리뷰 목록")
private final List<ClubReviewDetailResponse> reviews;
private final List<ClubReviewDetailResponse> clubReviews;

@Getter
@Builder(access = AccessLevel.PRIVATE)
Expand Down Expand Up @@ -60,7 +60,7 @@ public static ClubReviewResponse of(Club club, List<ReviewKeyword> reviewKeyword

return ClubReviewResponse.builder()
.clubId(club.getId())
.reviews(reviews)
.clubReviews(reviews)
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class UserReviewResponse {
private Long userId;

private List<UserReviewDetailResponse> reviewResponses;
private List<UserReviewDetailResponse> userReviews;

@Getter
@Builder(access = AccessLevel.PRIVATE)
Expand Down Expand Up @@ -57,7 +57,7 @@ public static UserReviewResponse of (User user, List<ReviewKeyword> keywords){
List<UserReviewDetailResponse> reviews = getCollectUserReviewDetailResponse(reviewListMap);
return UserReviewResponse.builder()
.userId(user.getId())
.reviewResponses(reviews).build();
.userReviews(reviews).build();
}

private static List<UserReviewDetailResponse> getCollectUserReviewDetailResponse(
Expand Down

0 comments on commit 1e376ce

Please sign in to comment.