Skip to content

Commit

Permalink
Fix: 메인페이지 api 활동 이미지 정보 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nohy6630 committed May 18, 2024
1 parent 544fa2a commit 974b662
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@Getter
public class ReadMainActivityRes {
private List<String> personalities;
private String imageUrl;
private Boolean isLiked;
private String title;
private Long currentParticipants;
Expand All @@ -29,6 +30,7 @@ public static ReadMainActivityRes of(Activity activity, Boolean isLiked) {
.map(Personality::getDescription)
.toList()
)
.imageUrl(activity.getImageUrl())
.isLiked(isLiked)
.title(activity.getTitle())
.currentParticipants(activity.getCurrentParticipants())
Expand Down

0 comments on commit 974b662

Please sign in to comment.