Skip to content

Commit

Permalink
Merge pull request #257 from Team-Sopetit/develop
Browse files Browse the repository at this point in the history
[HOTFIX] 데일리 루틴 조회 배경 이미지 이슈 대응
  • Loading branch information
thguss authored May 2, 2024
2 parents cfe9f05 + bb0b54b commit e9d1db8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private static DailyThemeResponse of(ThemeServiceResponse response) {
.themeId(response.themeId())
.name(response.name())
.iconImageUrl(response.iconImageUrl())
.backgroundImageUrl(response.backgroundImageUrl())
.backgroundImageUrl(response.dailyBackgroundImageUrl())
.build();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public record ThemeServiceResponse(
long themeId,
String name,
String iconImageUrl,
String backgroundImageUrl
String backgroundImageUrl,
String dailyBackgroundImageUrl
) {

private static ThemeServiceResponse of(Theme theme) {
Expand All @@ -33,6 +34,7 @@ private static ThemeServiceResponse of(Theme theme) {
.name(theme.getName())
.iconImageUrl(theme.getImageInfo().getIconImageUrl())
.backgroundImageUrl(theme.getImageInfo().getBackgroundImageUrl())
.dailyBackgroundImageUrl(theme.getImageInfo().getDailyBackgroundImageUrl())
.build();
}
}
Expand Down

0 comments on commit e9d1db8

Please sign in to comment.