Skip to content

Commit

Permalink
[Fix]: 챌린지 숏폼 조회에서 첫번째 이미지 응답에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonssshyeon committed Oct 19, 2024
1 parent f21ea72 commit 75910cf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public record Info(
Integer participantCount,
LocalDate startDate,
LocalDate endDate,
ChallengeCategory category
ChallengeCategory category,
String imageUrl

) {

Expand All @@ -37,6 +38,7 @@ public static Info from(
.startDate(challengeGroupDetail.joinStartDate())
.endDate(challengeGroupDetail.joinEndDate())
.category(challengeGroupDetail.category())
.imageUrl(challengeGroupDetail.imageUrls().get(0))
.build();
}

Expand Down

0 comments on commit 75910cf

Please sign in to comment.