Skip to content

Commit

Permalink
Merge pull request #259 from Team-Sopetit/develop
Browse files Browse the repository at this point in the history
[HOTFIX] 데일리 루틴 아이콘 이미지 이슈 대응
  • Loading branch information
thguss authored May 3, 2024
2 parents a7a7a1d + 710e210 commit de9dc31
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 @@ -8,6 +8,7 @@ public record MemberRoutineResponse(
Long id,
String content,
String iconImageUrl,
String dailyIconImageUrl,
int achieveCount,
boolean isAchieve
) {
Expand All @@ -18,6 +19,7 @@ public MemberRoutineResponse(MemberRoutine memberRoutine, Routine routine) {
memberRoutine.getId(),
routine.getContent(),
routine.getTheme().getImageInfo().getIconImageUrl(),
routine.getTheme().getImageInfo().getDailyIconImageUrl(),
memberRoutine.getAchieveCount(),
memberRoutine.isAchieve()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private static MemberDailyRoutineServiceResponse of(MemberRoutineResponse routin
return MemberDailyRoutineServiceResponse.builder()
.routineId(routine.id())
.content(routine.content())
.iconImageUrl(routine.iconImageUrl())
.iconImageUrl(routine.dailyIconImageUrl())
.achieveCount(routine.achieveCount())
.isAchieve(routine.isAchieve())
.build();
Expand Down

0 comments on commit de9dc31

Please sign in to comment.