Skip to content

Commit

Permalink
refactor : 리뷰 조회 response key 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kyubeomHan committed Feb 7, 2024
1 parent f500071 commit dd932c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.Map;

public record StoreGetReviewRes(
Integer reviewIdx,
Long reviewIdx,
String content,
Integer grade,
LocalDateTime createdAt,
Expand All @@ -27,7 +27,7 @@ public static List<StoreGetReviewRes> of(List<Map<String, Object>> storeReview)
images.replaceAll(S3Util::getImgUrl);
}
return new StoreGetReviewRes(
(Integer) review.get("reviewIdx"),
(Long) review.get("idx"),
(String) review.get("content"),
(Integer) review.get("grade"),
(LocalDateTime) review.get("createdAt"),
Expand Down

0 comments on commit dd932c1

Please sign in to comment.