Skip to content

Commit

Permalink
šŸ› fix: Responseģ— "region_report" ģ¶”ź°€ (#162)
Browse files Browse the repository at this point in the history
šŸ› fix: Responseģ— "region_report" ģ¶”ź°€ (#162)
  • Loading branch information
jinho7 authored Jul 11, 2024
2 parents f7c43d8 + d06626c commit d20f14d
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 @@ -20,6 +20,7 @@ public static SettingResDto.CustomDto toCustomDto(User user) {
public static SettingResDto.RegionNameDto toRegionNameDto(Setting setting) {
return SettingResDto.RegionNameDto.builder()
.regionName(setting.getRegion().getRegionName())
.regionReport(setting.isRegionReport())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public record CustomDto(

@Builder
public record RegionNameDto(
String regionName
String regionName,
boolean regionReport
) { }

@Builder
Expand Down

0 comments on commit d20f14d

Please sign in to comment.