Skip to content

Commit

Permalink
[fix] 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u committed Feb 20, 2024
1 parent aff8f11 commit adfb8ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public class Fairytale {

private String recommendImageUrl;

private String homeRecommendImageUrl;

private String channelName;

private Year year;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public List<Top2FairytaleResponseDto> getTop2Fairytale() {
return randomFairytaleList.stream()
.map(fairytale -> new Top2FairytaleResponseDto(
fairytale.getId(),
fairytale.getRecommendImageUrl()
fairytale.getHomeRecommendImageUrl()
))
.collect(Collectors.toList());
}
Expand Down

0 comments on commit adfb8ac

Please sign in to comment.